 |
ExitWindowsEx Add comment W32 Constants Translate this page |
 |
 |
|
Either logs off, shuts down, or shuts down and restarts the system |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL ExitWindowsEx(
UINT uFlags, // shutdown operation
DWORD dwReserved // reserved
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER ExitWindowsEx IN user32;
INTEGER uFlags,;
INTEGER dwReserved
|
 |
 |
 |
| Parameters: |
 |
uFlags
Specifies the type of shutdown. See all constants listed in an example
dwReserved
Reserved; this parameter is ignored |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is TRUE |
 |
 |
| My comment: |
 |
| Test under Windows Me was ok for EWX_LOGOFF and EWX_REBOOT modes |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2002-01-27 11:05:34 | Visited in last 7 days: 18 |