浏览代码

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 年之前
父节点
当前提交
183a02c584
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 ---
 }