Restart, Shutdown and Logoff Windows
Restart, Shutdown and Logoff Windows
API Declarations
Private Const EWX_LOGOFF = 0
Private Const EWX_SHUTDOWN = 1
Private Const EWX_REBOOT = 2
Rate Restart, Shutdown and Logoff Windows
(1(1 Vote))
if option(0).value = 1 then
ExitWindowsEx Ewx_logoff, 0&
elseif option(1).value = 1 then
ExitWindowsEx Ewx_Shutdown, 0&
elseif option(1).value = 1 then
ExitWindowsEx Ewx_Reboot, 0&
end if
End Sub
Restart, Shutdown and Logoff Windows Comments
No comments yet — be the first to post one!
Post a Comment