The hMod parameter must be set to NULL if the dwThreadId parameter specifies a thread created by the current process and if the hook procedure is within the code associated with the current process. Otherwise, lpfn can point to a hook procedure in the code associated with the current process.Ī handle to the DLL containing the hook procedure pointed to by the lpfn parameter. If the dwThreadId parameter is zero or specifies the identifier of a thread created by a different process, the lpfn parameter must point to a hook procedure in a DLL. For more information, see the SysMsgProc hook procedure.Ī pointer to the hook procedure. The hook procedure monitors these messages for all applications in the same desktop as the calling thread. Installs a hook procedure that monitors messages generated as a result of an input event in a dialog box, message box, menu, or scroll bar. For more information, see the ShellProc hook procedure. Installs a hook procedure that receives notifications useful to shell applications. For more information, see the MessageProc hook procedure. For more information, see the LowLevelMouseProc hook procedure. Installs a hook procedure that monitors low-level mouse input events. For more information, see the MouseProc hook procedure. Installs a hook procedure that monitors mouse messages. For more information, see the LowLevelKeyboardProc hook procedure. Installs a hook procedure that monitors low-level keyboard input events. For more information, see the KeyboardProc hook procedure. Installs a hook procedure that monitors keystroke messages. For more information, see the JournalRecordProc hook procedure. This hook is useful for recording macros. Installs a hook procedure that records input messages posted to the system message queue. Because of this, we highly recommend calling the SendInput TextInput API instead. Journaling Hooks APIs are unsupported starting in Windows 11 and will be removed in a future release. For more information, see the GetMsgProc hook procedure. Installs a hook procedure that monitors messages posted to a message queue. For more information, see the ForegroundIdleProc hook procedure. This hook is useful for performing low priority tasks during idle time. Installs a hook procedure that will be called when the application's foreground thread is about to become idle. For more information, see the DebugProc hook procedure. Installs a hook procedure useful for debugging other hook procedures. For more information, see the CBTProc hook procedure. Installs a hook procedure that receives notifications useful to a CBT application. For more information, see the CallWndRetProc hook procedure. Installs a hook procedure that monitors messages after they have been processed by the destination window procedure. For more information, see the CallWndProc hook procedure. Installs a hook procedure that monitors messages before the system sends them to the destination window procedure. This parameter can be one of the following values. The type of hook procedure to be installed. These events are associated either with a specific thread or with all threads in the same desktop as the calling thread. You would install a hook procedure to monitor the system for certain types of events. Installs an application-defined hook procedure into a hook chain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |