# 如何让windows重新启动 ??

Posted by 疑问者 on September 02, 1999 at 16:57:05:

请教各位高手:
如何做到让windows95/98重新启动却不用重新开机呢 ??
一般我们都是使用下列方式
Public Const EWX_LOGOFF = 0
Public Const EWX_SHUTDOWN = 1
Public Const EWX_REBOOT = 2
Public Const EWX_FORCE = 4

Declare Function ExitWindowsEx Lib "user32" Alias _
"ExitWindowsEx" (ByVal uFlags As Long, ByVal dwReserved _
As Long) As Long

code:

e_xit= ExitWindowsEx(EWX_REBOOT, 0)

但此种方式却会让windows重新开机
有方法让作业系统不用重新启动的方式再进入windows 吗 ??

Follow Ups: