mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 06:05:00 -07:00
4a54676f31
Summary: Test Plan:
18 lines
445 B
Odin
18 lines
445 B
Odin
// +build windows
|
|
package sys_windows
|
|
|
|
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,
|
|
} |