The information in this article applies to:
SUMMARY
The ExitWindows() function permits an application to terminate Windows. ExitWindows() restarts Windows by using the EW_RESTARTWINDOWS flag, and exits Windows and reboots the system by using the EW_REBOOTSYSTEM flag. These constants are consistent for the Win16 Application Programming Interface (API), the Win32 API under Windows NT and Win32s.
MORE INFORMATIONIn previous versions of Windows, an application sent the WM_ENDSESSION message to all windows to close the Windows session. Starting with version 3.0, ExitWindows() puts Windows into a special state so that Windows can perform housekeeping and unhook system interrupts to cleanly exit to MS-DOS. Because an application cannot simulate this Windows special state, the application must call the ExitWindows() function to close Windows. Additional query words:
Keywords : kbprg kb16bitonly kbSDKPlatform kbGrpUser kbWndw kbUser |
Last Reviewed: June 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |