INFO: ExitWindowsEx() Does Not Shut Down or Restart Win 95/98

ID: Q220706


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), included with:
    • Microsoft Windows 95
    • Microsoft Windows 98


SUMMARY

When you use the ExitWindowsEx() API on Windows 95 and Windows 98 to shut down or log off the computer, the action fails intermittently on some rare hardware or driver configurations.


MORE INFORMATION

This behavior is caused by the design of the hardware or driver.

In most cases, a cooperative (user-initiated) log off or shutdown is recommended for Windows 95 and Windows 98.

In cases where the application must initiate shutdown or log off, it is recommended that you use the ExitWindowsEx() API to implement a non-forced programmatic log off or shutdown. A non-forced log off or shutdown allows users to save their work and settings.


REFERENCES

For more information about ExitWindowsEx(), please see the Win32 Platform SDK documentation.

Additional query words:

Keywords : kbKernBase kbWinOS95 kbWinOS98 kbfaq
Version : winnt:
Platform : winnt
Issue type : kbinfo


Last Reviewed: December 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.