Microsoft KB Archive/220706

From BetaArchive Wiki

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

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 kbOSWin95 kbOSWin98 kbFAQ
Issue type : kbinfo
Technology : kbAudDeveloper kbWin32sSearch kbWin32API


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