From d3fbf36df7cddf2cf69f7d761ccf4dfea863a40c Mon Sep 17 00:00:00 2001 From: hikari Date: Fri, 15 Apr 2022 19:18:22 +0300 Subject: [PATCH] sys/windows: add winmm bindings file --- core/sys/windows/winmm.odin | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/sys/windows/winmm.odin diff --git a/core/sys/windows/winmm.odin b/core/sys/windows/winmm.odin new file mode 100644 index 000000000..6d3fc409e --- /dev/null +++ b/core/sys/windows/winmm.odin @@ -0,0 +1,9 @@ +// +build windows +package sys_windows + +foreign import winmm "system:Winmm.lib" + +@(default_calling_convention="stdcall") +foreign winmm { + timeBeginPeriod :: proc(uPeriod: UINT) -> MMRESULT --- +}