Add windows.timeGetTime()

Here is the windows documentation for it: https://docs.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timegettime
This commit is contained in:
Ryan Chan
2022-09-10 16:54:34 +04:00
parent 913e8b2e02
commit 183a02c584

View File

@@ -7,4 +7,5 @@ foreign import winmm "system:Winmm.lib"
foreign winmm {
timeBeginPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
timeEndPeriod :: proc(uPeriod: UINT) -> MMRESULT ---
timeGetTime :: proc() -> DWORD ---
}