Add TIMECAPS stuff
Summary: Test Plan:
This commit is contained in:
1 parent
4210aa9ab9
commit
4a54676f31
1 file changed
+7
@@ -5,7 +5,14 @@ foreign import winmm "system:Winmm.lib"
|
||||
|
||||
@(default_calling_convention="stdcall")
|
||||
foreign winmm {
|
||||
timeGetDevCaps :: proc(ptc: LPTIMECAPS, cbtc: UINT) -> MMRESULT ---
|
||||
timeBeginPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
|
||||
timeEndPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
|
||||
timeGetTime :: proc() -> DWORD ---
|
||||
}
|
||||
|
||||
LPTIMECAPS :: ^TIMECAPS
|
||||
TIMECAPS :: struct {
|
||||
wPeriodMin: UINT,
|
||||
wPeriodMax: UINT,
|
||||
}
|
||||
Reference in new issue
Block a user