Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
ExitWindowsEx EXW_REBOOT, 0
ExitWindowsEx EXW_SHUTDOWN, 0
Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
ExitWindowsEx EXW_REBOOT, 0
ExitWindowsEx EXW_SHUTDOWN, 0