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

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

??????

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

???? ???????

??????? OS ?? Windows ?????? ???? ?? ???? ULONG ?? ???InitSafeBootMode. ?? ?? ???????? ?? ???????? ??? ??? ???

??? ?????? ??????? ?? ?????? ??? ?? ??? ?? ???? ??? ?? ??? ?????? ????????? ?? ???? ???InitSafeBootMode??? ???0?????? ?? ?? ?????????????? ??? ??? ?? ??? ???

????? ?????? ??? ???? ????? ?? ??? ??? ???????? ???? ???
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
Value:???
1SAFEBOOT_MINIMAL
2SAFEBOOT_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?????? ??? ???????? ??? ??? ?? ?????? ?????? ???? ??????

???

???? ID: 837643 - ????? ???????: 05 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Windows XP Driver Development Kit
??????: 
kbinfo kbdev kbhardware kbdriver kbddk kbwdm kbmt KB837643 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??: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