Click to Rate and Give Feedback
MSDN
MSDN Library
Diagnostics
Error Handling
Error Handling Functions

The following functions are used with error handling.

FunctionDescription
BeepGenerates simple tones on the speaker.
CaptureStackbackTraceCaptures a stack back trace by walking up the stack and recording the information for each frame.
FatalAppExitDisplays a message box and terminates the application when the message box is closed.
FlashWindowFlashes the specified window one time.
FlashWindowExFlashes the specified window.
FormatMessageFormats a message string.
GetErrorModeRetrieves the error mode for the current process.
GetLastErrorRetrieves the calling thread's last-error code value.
MessageBeepPlays a waveform sound.
RtlLookupFunctionEntrySearches the active function tables for an entry that corresponds to the specified PC value.
RtlNtStatusToDosErrorRetrieves the system error code that corresponds to the specified NT error code.
RtlPcToFileHeaderRetrieves the base address of the image that contains the specified PC value.
RtlUnwindInitiates an unwind of procedure call frames.
RtlUnwind2Initiates an unwind of procedure call frames.
RtlUnwindExInitiates an unwind of procedure call frames.
RtlVirtualUnwindRetrieves the invocation context of the function that precedes the specified function context.
SetErrorModeControls whether the system will handle the specified types of serious errors, or whether the process will handle them.
SetLastErrorSets the last-error code for the calling thread.
SetLastErrorExSets the last-error code for the calling thread.

Send comments about this topic to Microsoft

Build date: 11/20/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker