Merge pull request #6664 from Deserted999/add-defsubclassproc

Add DefSubclassProc binding
This commit is contained in:
Jeroen van Rijn
2026-05-08 15:21:38 +02:00
committed by GitHub

View File

@@ -8,6 +8,7 @@ foreign Comctl32 {
InitCommonControlsEx :: proc(picce: ^INITCOMMONCONTROLSEX) -> BOOL ---
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) ---
DefSubclassProc :: proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT ---
}
ICC_LISTVIEW_CLASSES :: 0x00000001