The information in this article applies to:
SYMPTOMSWhen an application calls ExitWindowsEx with EWX_LOGOFF in Windows 95, the application itself does not exit. Additionally, the use of the EWX_FORCE flag in conjunction with EWX_LOGOFF will cause undefined behavior. CAUSEIt is the application's responsibility to terminate itself. However, limitations of the implementation of ExitWindowsEx in Windows 95 require that the application execute the ExitWindowsEx call and terminate itself in a particular way. RESOLUTION
The most robust way to use ExitWindowsEx with EWX_LOGOFF is to create a
separate application that does nothing but call ExitWindowsEx(EWX_LOGOFF,
0) and then exits. This method will work correctly on all platforms that
support ExitWindowsEx. This application must be a Windows application
or a console application.
STATUSThis behavior is by design. Additional query words:
Keywords : kbNTOS400 kbWinOS2000 kbGrpUser kbWinOS95 kbWinOS98 kbWndw |
Last Reviewed: December 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |