Error and Exception Processing Function Descriptions

Table 26.1 lists the Windows API functions that relate to error and exception processing. Complete function descriptions follow the table.

Table 26.1. Error and Exception Processing Function Summary
Function Description
AbnormalTermination Determines whether the previous try block ran to completion
Beep Produces the default beep sound
GetExceptionCode Determines exception code in a filter function
GetExceptionInformation Obtains information about the context of the processor and memory when an exception occurs
GetLastError Returns the error code from a thread's local storage
SetErrorMode Changes the system error trapping
SetLastError Sets the error code of a thread's local storage
SetLastErrorEx ...

Get Microsoft Windows 2000 API SuperBible now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.