Add SetWindowSubclass and RegisterHotKey functions

This commit is contained in:
Lion Schitik
2025-01-08 01:47:36 +01:00
parent b136aa26c8
commit cdef798fbc
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -6,4 +6,5 @@ foreign import "system:Comctl32.lib"
@(default_calling_convention="system")
foreign Comctl32 {
LoadIconWithScaleDown :: proc(hinst: HINSTANCE, pszName: PCWSTR, cx: c_int, cy: c_int, phico: ^HICON) -> HRESULT ---
SetWindowSubclass :: proc(hwnd: HWND, pfnSubclass: SUBCLASSPROC, uIdSubclass: UINT_PTR, dwRefData: DWORD_PTR) ---
}