Windows Reboot USER32.DLL
Blitz3D Forums/Blitz3D Programming/Windows Reboot USER32.DLL
| ||
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 ??? |
| ||
Am I crazy or you've laredy posted this in the "userlib" forum? go see my answer there. |