in user32.decls :
; User32.decls
;-----------------
.lib "user32.dll"
User32_ExitWindowsEx% (nIndex%,nNull%) : "ExitWindowsEx"
and BlitzCode :
Const EWX_FORCE% = 4
Const EWX_LOGOFF% = 0
Const EWX_REBOOT% = 2
Const EWX_SHUTDOWN% = 1
User32_ExitWindowsEx% (EWX_REBOOT%,0)
Why only EWX_LOGOFF% and EWX_FORCE% work ???
; User32.decls
;-----------------
.lib "user32.dll"
User32_ExitWindowsEx% (nIndex%,nNull%) : "ExitWindowsEx"
and BlitzCode :
Const EWX_FORCE% = 4
Const EWX_LOGOFF% = 0
Const EWX_REBOOT% = 2
Const EWX_SHUTDOWN% = 1
User32_ExitWindowsEx% (EWX_REBOOT%,0)
Why only EWX_LOGOFF% and EWX_FORCE% work ???