[This is preliminary documentation and subject to change.]
The HWINEVENTHOOK type defines a 32-bit variable that identifies a window event hook. The winable.h header file uses the following definition.
typedef DWORD HWINEVENTHOOK
This data type is used with the WinEventProc, SetWinEventHook, and UnhookWinEvent functions.