RtlRaiseException function (rtlsupportapi.h)

Raises an exception.


NTSYSAPI VOID RtlRaiseException(
  [in] PEXCEPTION_RECORD ExceptionRecord


[in] ExceptionRecord

Address of an EXCEPTION_RECORD structure that describes the exception, and the parameters of the exception, that is raised. Raising a software exception captures the machine state of the current thread in a context record. The ExceptionAddress member of the exception record is set to the caller's return address.

Return value

This function does not return a value.


Requirement Value
Target Platform Windows
Header rtlsupportapi.h
Library ntdll.lib
DLL ntdll.dll

See also