HWINEVENTHOOK is a 32-bit integer type. As of w32api
3.5, it is defined as a handle in windef.h. It should
rather be defined as DWORD in winable.h (when
WINVER<0x500) and in winuser.h (when WINVER>=0x500).
Log in to post a comment.