Selaa lähdekoodia

Add windows.timeGetTime()

Here is the windows documentation for it: https://docs.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timegettime
Ryan Chan 3 vuotta sitten
vanhempi
commit
183a02c584
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      core/sys/windows/winmm.odin

+ 1 - 0
core/sys/windows/winmm.odin

@@ -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 ---
 }