Browse Source

Merge pull request #1695 from ftphikari/master

sys/windows: add Dwmapi.lib binding
Jeroen van Rijn 3 years ago
parent
commit
e7dc00b758
1 changed files with 9 additions and 0 deletions
  1. 9 0
      core/sys/windows/dwmapi.odin

+ 9 - 0
core/sys/windows/dwmapi.odin

@@ -0,0 +1,9 @@
+// +build windows
+package sys_windows
+
+foreign import dwmapi "system:Dwmapi.lib"
+
+@(default_calling_convention="stdcall")
+foreign dwmapi {
+	DwmFlush :: proc() -> HRESULT ---
+}