From ce09cb0bdb123cca72021117e700b9b404361aeb Mon Sep 17 00:00:00 2001 From: hikari Date: Sat, 1 Oct 2022 17:13:17 +0300 Subject: [PATCH] sys/windows: add comctl32 --- core/sys/windows/comctl32.odin | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/sys/windows/comctl32.odin diff --git a/core/sys/windows/comctl32.odin b/core/sys/windows/comctl32.odin new file mode 100644 index 000000000..983c45d36 --- /dev/null +++ b/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 --- +}