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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.