Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 100305 - Last Review: July 15, 2004 - Revision: 1.1
DOCERR: Incomplete Description of SetErrorMode() Function
This article was previously published under Q100305
The description of the SetErrorMode() API does not list the flag to reset
the default behavior of Windows; that is, to display all the error message
boxes.
On page 840, the Microsoft Windows Software Development Kit (SDK)
"Programmer's Reference, Volume 2: Functions" manual for version 3.1
lists the following three flags for the SetErrorMode function:
These flags can be combined to prevent the display of message boxes for
critical error faults, general protection (GP) faults, and file-not-found
errors, respectively. However, the SetErrorMode() API description doesn't
list the default flag that is used to display all the error message boxes.
To allow the SetErrorMode() API to display all error message boxes, pass a
zero as the fuErrorMode parameter.
APPLIES TO
- Microsoft Windows Software Development Kit 3.1
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate