PRB: ????? HOOKS SDK Windows 3.1 ????? ??? GP

?????? ????????? ?????? ?????????
???? ???????: 110661 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
3.10 kbprb kbprg WINDOWS
????? ???? | ?? ????

???????

????? ????? ???? ???? ??? WH_CBT ??? ?????? ???????? ??????? ????? HOOKS ??? ????? ??? (GPF) ?? ?????? ??? ?? ????? ??? ??????? (CBT) ???????? ??? ????????? ????? ????? ???? ??????? ?? ??????? ????? CBT.

?????

?? ???? HOOKS CBTFunc() ?? ???? ??? ???? lParam ????? (???? DWORD) ???? ??? ?????? CallNextHookEx() ?????? ????????? ??? ??? ?????? ?? ????? ???? ??????? ?? ???????. ???? ??? ???? ??? ????????? ????? ????? CBT ?? ????? lParam (????? HIWORD) ? ????? ????? ??? ???? ??? ???? ?? ?????? ???? GPF.

???? GPF ???? ????? ??? ????? ??? ??????? ????? ???? ??? WH_CALLWNDPROC ?? ????? HOOKS ????? ???? ??????? ???? ??????? ?? ??????? CallWndProc. ???? ??????? casts ???? ????? HOOKS CallWndProcFunc() lParam ????? ?? (???? DWORD) ??? ???? ??? ???????? ?????? ?? ??? CallNextHookEx() ???? ??? ????.

???????? ??? ???? ??? ????? HOOKs GPF ??? ????? ???? ??? WH_JOURNALRECORDSetSysModalWindow() ?????? ??? ????????? ??????. ??? ??? ?? ??????? Windows 3.1 SDK

If a WH_JOURNALRECORD hook is in place when SetSysModalWindow is called,
the hook is called with a hook code of <B>HC_SYSMODALON</B> (for turning on the system-modal window) or <B>HC_SYSMODALOFF</B> (for turning off the system-modal window).
				

????

????? CBTFunc() ? ????????? CallWndProcFunc()CallNextHookEx() ????? lParam DWORD ???? ????.

?? ???? ???? ??? ??? ???? ??????? ????? ??????? ?????? ?????? JournalRecordFunc ?? hooksdll.c:
   if( nCode >= 0) {
   // do not  record if SysModalOn or SysModalOff and let other filter know
   // about it.

      if(nCode == HC_SYSMODALON || nCode == HC_SYSMODALOFF)
      {
      // let other hook filters know about this
         CallNextHookEx(hhookHooks[JOURNALRECORDINDEX], nCode, wParam,
            lParam);
         return;
      }
				

?????

????? ??? ?????? ??? ???????.

???????

???? ???????: 110661 - ????? ??? ??????: 02/???? ??????/1435 - ??????: 1.1
????? ???
  • Microsoft Windows Software Development Kit 3.1
????? ??????: 
kbnosurvey kbarchive kbmt kb16bitonly kbhook kbprb KB110661 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????110661

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com