Hook Types

Each type of hook enables an application to monitor a different aspect of the Windows message-handling mechanism. The following sections describe the types of hooks available in Windows.

·WH_CALLWNDPROC and WH_CALLWNDPROCRET Hooks

·WH_CBT Hook

·WH_DEBUG Hook

·WH_FOREGROUNDIDLE Hook

·WH_GETMESSAGE Hook

·WH_JOURNALPLAYBACK Hook

·WH_JOURNALRECORD Hook

·WH_KEYBOARD Hook

·WH_MOUSE Hook

·WH_MSGFILTER and WH_SYSMSGFILTER Hooks

·WH_SHELL Hook