Browse Source

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 2 years ago
parent
commit
183a02c584
1 changed files with 1 additions and 0 deletions
  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 ---
 }