HOOKPROC typedef
An application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function before calling the window procedure to process a message sent to the thread.
Implementation
typedef HOOKPROC = LRESULT Function(Int32 nCode, WPARAM wParam, LPARAM lParam);