Raising Structured Exceptions (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Structured Exceptions Under Win32 (C++)

A Win32 exception is raised with a call to RaiseException, which is declared as follows

void RaiseException(DWORD ec, DWORD ef, DWORD na, const DWORD *a);


ec Exception code
ef Exception flags, either 0 or EXCEPTION_NONCONTINUABLE (If the exception is marked as not continuable and a filter tries to continue it, EXCEPTION_NONCONTINUABLE_EXCEPTION is raised.)
na Number of elements in the arguments array
a Pointer to first element in the argument array–the meaning of these arguments depends on the particular exception

See Also