???? ??????? AppInit_DLLs ? Windows 95

?????? ????????? ?????? ?????????
???? ???????: 134655 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

?? ????? Windows 95 ????? DLL ??? ????? ????? ???? ???????? ??? ??????? ???? ??????? AppInit_DLLs. ?? Windows NT ?????? ?? ???????? Windows NT ?????? DLLs ???????? ?? ???? ????? AppInit_DLLs ?? ????? ????? ???????. ?????? ??? ???? ????? ????? ?? ???? ??????? Windows 95 ???? ????? ??? ????? ??????. ???? ??? ?????? ??? ?????? ????? ?????? ???.

??????? ????

?????? ??? ????? ?????? ???? ?????? ?? ?? ?????? hooked (????? ?? ???????) ????? ?? ??? DLL. ?? ??? ??????? ?????? ??? ????? ???? ??????? ?????? DLL hooked ?? ????? ??????? ??????? ?????. ?????? ??? ?????? ?? ???? ???? ?? ????? ??????? ?????.

???? ???? ????? ?????? ???????? ?? ????? ??? ????? ??????:
  1. ????? ??? DLL ?? ???? ?? ??????? ?? ?????? hooking. ?? ???? ????? ???? ??? ????? ?? ??????? ??? modeled ??? ????? ?? ????? ???????? ?????? WH_KEYBOARD ??? ????? ??????:
          // Trap keyboard messages
          __declspec(dllexport) LRESULT CALLBACK HookFunction(
                           int code,
                           WPARAM wParam,
                           LPARAM lParam)
          {
             char szVCode[50];
    
             //display the virtual key code trapped
             sprintf(szVCode, "Virtual Key code: %lx", wParam);
             MessageBox(NULL, szVCode,"Key stroke", MB_OK);
                    :
                    :
          }
    
       The associated .def file for this DLL might resemble this:
    
          LIBRARY      HOOK
    
          EXPORTS
             HookFunction
    						
  2. ????? ??? ????? ??????. ?????? ?? ???? ??????? ?? ??????? ??? ?? ??? ????? DLL ? ????? ???? ??? ??????? ?? ??????? SetWindowsHookEx ?? ????? ??????. ????? ??? ????:
          // add system-wide hook
          hHookDll = LoadLibrary("hook");
          hHookProc = (HOOKPROC) GetProcAddress(hHookDll, "HookFunction");
    
          // Install keyboard hook to trap all keyboard messages
          hSystemHook =  SetWindowsHookEx(WH_KEYBOARD,hHookProc,hHookDll,0);
    						
    ????? ?????? ??????? ?? ??? ????? ?????? ???? ?? ??????? ?? ????? hooking ??? ???:
          // Remove the hook and unload the DLL used for the hooking process
          UnhookWindowsHookEx(hSystemHook);
          FreeLibrary(hHookDll);
    						

???????

???? ???????: 134655 - ????? ??? ??????: 20/????/1426 - ??????: 3.2
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
    • Microsoft Windows Millennium Edition
????? ??????: 
kbmt kbcode kbkernbase kbregistry KB134655 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????134655
????? ??????? ?? ????? ???? ?? ????? ???????
?? ????? ????? ?????? ???? ???? ???? ??? ??????? ??? ?? ? ?? ??? ??????? Microsoft ??? ????? ??? ??????? ????? ?????? ?????

????? ???????

 

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