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

?????? ????????? ?????? ?????????
???? ???????: 115825 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

??????

??? Windows NT ??????? 3.1 ? ??? ???? ???? ?? ?????? ??? ??? ?????? "???????" ? ??? ????? ?????? ?? ???? ?????? ??????. ???? ??? ????? ???? ??? ??????? ?? ???? ?????? ?????? (?? ????? ????? ?? ???? ??????) ?????? ????? ???????? ??????? ??????. ?? ??? ????? ???????? ???? ??? ??????? ??? ???? LocalSystem ??? ?????? ????? ????? ??????. ??? ????? ??? ?? ????????? ??? Windows NT ?? ??????? 3.5, ???? ???? ??? ??????? ???? ??? Windows NT ?????? ?? ??? ???????. ???????? ??? ???? ??? Windows NT 3.51 ?????? ???? ?? APIs ??? ??????.

??????: ????? ??????? ????????? ??? ???? ?????? ?? ???? ??????? ?????? ???????. ???? ??? ?????? ???? ??????? ????? ???????? ???????. ???? ?????? ???? ???? ?????? ?????? ??? ???? CTRL + C ?????? ??? ???? ????? ??? ???? ???????.

??????? ????

???? ??? ????? ????? ?? Windows NT ??????? 3.5, ???? ???? ??? ???????:
  • ?? ???? ???????? ???? ?? ????? ????? ???? ??? ??? ?? ?????? ??? ??? ?????? ???????. ?? ??? LocalSystem ??????. ????? ?? ?????? ?????? ??? ?? ?????? ??? ??? ?????? ?? ???? ?????? ???????? ??? ????? ?? USER ?? GDI ?????????.
  • ??? ????? ???? ?????? ???????? GUI ??? ??????? ?? ????? ???? ????? ???? ????? ???? ????? ??? ???? ???? ??? ???? ???? ?????? ????? ????? ??????? ??? ???? ?????. ???? ???? ???? ?????? ??? ??????? ???????? ??? ??? ????? ??????? ????? ?? ???? ?????; ???? ??? ????? ????? ??? ????? ????? ???. ???? ????? ???? ??? ???? ??? ???? ????.
  • ??? ???? ???? ?? ???? ???? ??????? ?? ???????? ??? ?????? ?????? ????? ??????? SERVICE_INTERACTIVE_PROCESS ?? ??????? CreateService(). ??? ???? ??????:
          schService = CreateService(
             schSCManager,
             serviceName,
             serviceName,
             SERVICE_ALL_ACCESS,
             SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32_OWN_PROCESS,
             SERVICE_DEMAND_START,
             SERVICE_ERROR_NORMAL,
             lpszBinaryPathName,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL );
    						
    ??? ???? ???? ??? ??? ???? ??? ??????? SERVICE_INTERACTIVE_PROCESS ?????? ??? INVALID_PARAMETER (87).
  • ??? ??????? CreateProcess() ????? ??????? ?????? ?? ????? ?????? ????? ?????? ??? ??? ???? ?????????? ????? ??????? lpdesktop ????? STARTUPINFO ?? "WinSta0\\Default".
  • ???? ??????? ???? ??? ????? ?????? ????? ?????? ?????? ???? ?? ???? ??????? MessageBox() ????? MB_SERVICE_NOTIFICATION. ???????? ????? MB_DEFAULT_DESKTOP_ONLY ???? ????? ? ???? ??? ??? ?? ???? ?? ??? ??? ??? ???? ???????? ?????. ??? ??? ??? ????? ???? ????? ?? ????? ???? ???? ????? ???????.

    ??????: ??? ????? ????????? ???????? ??????? ???? ????? ???? ?? ???? ??????? ?? ????? ??????? MB_SERVICE_NOTIFICATION ??? hwndOwner ??? NULL.
  • ?? ??? ??? ?? ????? ?????? ??? ???? ?? ??????? ??????? ?? ?? ?????. ????? ????? ???? ?? ???? ????? ?? ???.
  • ????? GUI ??? ?????? ????? WM_QUERYENDSESSION/WM_ENDSESSION ??? ????? ?????? "?" ????? ???????; ????? ?? ???? ????? ?????? CTRL_LOGOFF_EVENT ?????? CTRL_SHUTDOWN_EVENT. ?? ??? ????? ??? ??????? ?? ??? ?????? ??? ????? ??????.

???????

???? ???????: 115825 - ????? ??? ??????: 27/???? ??????/1435 - ??????: 2.1
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows NT 4.0
    • Microsoft Windows NT 3.51 Service Pack 5
????? ??????: 
kbnosurvey kbarchive kbmt KB115825 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????115825

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