????? ????? ?? ??? ??? ?????? ???? ?? "????? ?????" ?? ?????? ????? ??????

?????? ????????? ?????? ?????????
???? ???????: 837643 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

???? ??? ??????? ????? ????? ?? ??? ??? ?????? ???? ?? "????? ?????" ?? ?????? ????? ????.

??????? ????

???? ??????? Windows kernel ????? ???? ??? ????? ULONG ???? InitSafeBootMode. ????? ??? ??????? ??? ??????? "????? ?????".

?????? ????? ???? ???? ????? ?? ??? ??? ?????? ???? ?? "????? ?????" ?????? ???? ????? InitSafeBootMode. ???? 0 ???? ??? ?????? ??? ??? ??????? ?? "????? ?????".

???? ?????? ?????? ??????? ???? ????.
?? ??? ??????????? ??? ??????
???????
1 safeboot_minimal
2 safeboot_network
3 * safeboot_dsrepair
* ????????? ????? ?????? 3 ??? ????? ???? ???? Windows.

??? ?? ???? ?????? ??????? ?? ?????? ?????.
extern PULONG InitSafeBootMode; 
??? ?????? ?? ???? InitSafeBootMode ?????? ?? ??? ??? ?????? ???? ?? "????? ?????".
if (*InitSafeBootMode > 0){ 

     // The system is in Safe Mode. 
     // Take appropriate action. 
     //     
} 
??? ???? ??????? ???? ?????? ????? ?? ????? ?? ????? ????? "? ?????? ???? ????? ???????:
  • ????? ????? ??????

    ??? ??? ?????? ????? ?????? ??? ??? ???? SERVICE_BOOT_START ? ???? ?? ???? ????? InitSafeBootMode ?? ????? AddDevice ?? ????? ???.

    ????????? ?? ?? ???? ??? ?? ????? DriverEntry.
  • ????? ????? ???????

    ?? ???? ??? ????? ?????? ????? ???? ??????? ????? ??? ???????, ???? ?? ???? ????? InitSafeBootMode ?? ????? AddDevice. ?? ??? ?????? ??? ???? ??????. ????? ?????? ?? ????? AddDevice.
  • ????? ??????? ??????

    ?????? ??? ????? ??????? ???? ?? ??? ???? ?????? ?????? ???? ????? InitSafeBootMode ?? ????? DriverEntry. ????? ??? ??? ??? ?????? ?? "????? ?????".

???????

???? ???????: 837643 - ????? ??? ??????: 10/???? ??????/1425 - ??????: 1.0
????? ???
  • Microsoft Windows Server 2003 Driver Development Kit (DDK)
  • Microsoft Windows XP Driver Development Kit
  • Microsoft Win32 Device Driver Kit ?? Windows 2000
????? ??????: 
kbmt kbinfo kbdev kbhardware kbdriver kbddk kbwdm KB837643 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????837643

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

 

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