hab (HAB) - input

      Anchor-block handle.

    hmq (HMQ) - input

      Queue identity.

      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

      Hook-chain type.

      HK_CHECKMSGFILTER

        See CheckMsgFilterHook
      HK_CODEPAGECHANGED
        See CodePageChangedHook
      HK_DESTROYWINDOW
        See DestroyWindowHook
      HK_FINDWORD
        See FindWordHook
      HK_FLUSHBUF
        See FlushBufHook
      HK_HELP
        See HelpHook
      HK_INPUT
        See InputHook
      HK_JOURNALPLAYBACK
        See JournalPlaybackHook
      HK_JOURNALRECORD
        See JournalRecordHook
      HK_LOADER
        See LoaderHook
      HK_LOCKUP
        See LockupHook
      HK_MSGCONTROL
        See MsgControlHook
      HK_MSGFILTER
        See MsgFilterHook
      HK_MSGINPUT
        See MsgInputHook
      HK_PLIST_ENTRY
        See ProgramListEntryHook
      HK_PLIST_EXIT
        See ProgramListExitHook
      HK_REGISTERUSERMSG
        See RegisterUserHook
      HK_SENDMSG
        See SendMsgHook
      HK_WINDOWDC
        See WindowDCHook

      pHookProc (PFN) - input

        Address of the application hook procedure.

      Module (HMODULE) - input

        Resource identity.

        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

        Success indicator.

        TRUE

          Successful completion
        FALSE
          An error occurred.


        [Back] [Next]