DOCERR: Incomplete Description of ExitWindows()

Last reviewed: July 23, 1997
Article ID: Q100359
3.10 WINDOWS kbprg kbdocerr

SUMMARY

The description of the ExitWindows function does not list the code that can be used to terminate Windows and return control to MS-DOS.

MORE INFORMATION

Page 290 of the Microsoft Windows Software Development Kit (SDK) "Programming Reference, Volume 2: Functions" manual for version 3.1 states that the ExitWindows function can be used to terminate Windows and return control to MS-DOS. However, the description doesn't list the code needed to exercise this feature of the ExitWindows function.

To allow the ExitWindows function to terminate Windows and return control to MS-DOS, pass a zero as the dwReturnCode parameter.


Additional reference words: 3.10 docerr
KBCategory: kbprg kbdocerr
KBSubcategory: UsrSys
Keywords : kb16bitonly UsrSys kbdocerr kbprg
Version : 3.10
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.