mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Merge pull request #2426 from elusivePorpoise/pr2426
Add TIMECAPS stuff
This commit is contained in:
@@ -5,7 +5,14 @@ foreign import winmm "system:Winmm.lib"
|
|||||||
|
|
||||||
@(default_calling_convention="stdcall")
|
@(default_calling_convention="stdcall")
|
||||||
foreign winmm {
|
foreign winmm {
|
||||||
|
timeGetDevCaps :: proc(ptc: LPTIMECAPS, cbtc: UINT) -> MMRESULT ---
|
||||||
timeBeginPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
|
timeBeginPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
|
||||||
timeEndPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
|
timeEndPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
|
||||||
timeGetTime :: proc() -> DWORD ---
|
timeGetTime :: proc() -> DWORD ---
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LPTIMECAPS :: ^TIMECAPS
|
||||||
|
TIMECAPS :: struct {
|
||||||
|
wPeriodMin: UINT,
|
||||||
|
wPeriodMax: UINT,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user