5 #ifndef _INC_cWindowHook_H
6 #define _INC_cWindowHook_H
11 #include "../WinAPI/WinTypes.h"
24 static cArraySortPtrValue<cWindowHook, HWND> sm_aMap;
30 static LRESULT WINAPI WndProc(HWND hWnd,
WINMSG_t message, WPARAM wParam, LPARAM lParam);
33 void AttachHook(HWND hWnd);
37 virtual LRESULT HookWindowProc(
WINMSG_t message, WPARAM wParam, LPARAM lParam);
41 virtual ~cWindowHook();
43 HWND get_SortValue() const noexcept
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
UINT WINMSG_t
Supplement _WIN32 "windows.h".
Definition: WinTypes.h:111