hab (HAB) - input
hmq (HMQ) - input
This parameter identifies the queue to which the hook chain belongs. If hmq is set to NULLHANDLE, the hook is installed in the system hook chain. If hmq is set to HMQ_CURRENT, the hook is installed in the message queue associated with the current thread (calling thread).
lHookType (LONG) - input
HK_CHECKMSGFILTER
pHookProc (PFN) - input
Module (HMODULE) - input
Handle of the module that contains the application hook procedure, as returned by the DosLoadModule or DosQueryModuleHandle call. This parameter can be NULLHANDLE when a queue hook is being installed by an application into its own message queue.
When hooking a system hook this parameter must be a valid module handle.
rc (BOOL) - returns
TRUE