Part of the Structured Exception Handling set of functions, this function raises an exception in the calling thread.
void RaiseException( DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, const ULONG_PTR* lpArguments );
dwExceptionCode
dwExceptionFlags
nNumberOfArguments
lpArguments
array. This value must not exceed EXCEPTION_MAXIMUM_PARAMETERS. This parameter is ignored if lpArguments
is NULL.
lpArguments
The RaiseException function enables a process to use structured exception handling to handle private, software-generated, application-defined exceptions.
The values specified in the dwExceptionCode
, dwExceptionFlags
, nNumberOfArguments
, and lpArguments
parameters can be retrieved in the filter expression of a frame-based exception handler by calling the GetExceptionInformation.
This function does not return a value.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtexcpt.h | rt.h | rt.lib |
Note
This function operates in the real-time portion of your application.