如何编程识别系统目前是安全模式还是正常模式?

ha002 2003-09-15 03:15:03
如何编程识别系统目前是安全模式还是正常模式?
另外4贴加上本贴共500分

http://expert.csdn.net/Expert/topic/2260/2260744.xml?temp=.4950373

http://expert.csdn.net/Expert/topic/2251/2251744.xml?temp=1.700991E-02

http://expert.csdn.net/Expert/topic/2192/2192819.xml?temp=.1183283

http://expert.csdn.net/Expert/topic/2229/2229818.xml?temp=.6908991
...全文
25 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
ha001 2003-09-16
  • 打赏
  • 举报
回复
up
ha001 2003-09-16
  • 打赏
  • 举报
回复
up
NowCan 2003-09-16
  • 打赏
  • 举报
回复
switch(GetSystemMetrics(SM_CLEANBOOT))
{
case 0:
//Normal boot.
break;
case 1:
//Fail-safe boot
break;
case 2:
Fail-safe with network boot
break;
}

2,640

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧