Browse Source

sys/windows: add comctl32

hikari 3 years ago
parent
commit
ce09cb0bdb
1 changed files with 9 additions and 0 deletions
  1. 9 0
      core/sys/windows/comctl32.odin

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

@@ -0,0 +1,9 @@
+// +build windows
+package sys_windows
+
+foreign import "system:Comctl32.lib"
+
+@(default_calling_convention="stdcall")
+foreign Comctl32 {
+	LoadIconWithScaleDown :: proc(hinst: HINSTANCE, pszName: PCWSTR, cx: c_int, cy: c_int, phico: ^HICON) -> HRESULT ---
+}