diff options
| author | hikari <ftphikari@gmail.com> | 2022-10-01 17:13:17 +0300 |
|---|---|---|
| committer | hikari <ftphikari@gmail.com> | 2022-10-01 17:13:17 +0300 |
| commit | ce09cb0bdb123cca72021117e700b9b404361aeb (patch) | |
| tree | 9930cf0adb9e796ec07604757c5d150dd528b2ba /core/sys | |
| parent | b7fd91817e50109de7083551a47cbead383f3904 (diff) | |
sys/windows: add comctl32
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/windows/comctl32.odin | 9 |
1 files changed, 9 insertions, 0 deletions
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 --- +} |