[This is preliminary documentation and subject to change.]
The WINEVENTPROC type defines a variable that conforms to the WinEventProc callback function declaration. The winable.h header file uses the following definition.
typedef VOID (CALLBACK* WINEVENTPROC)(
HWINEVENTHOOK hWinEventHook,
DWORD event,
HWND hwnd,
LONG idObject,
LONG idChild,
DWORD idEventThread,
DWORD dwmsEventTime);
For more information, see WinEventProc.