RtlRaiseException function

Raises an exception.

Syntax

NTSYSAPI __analysis_noreturn VOID RtlRaiseException(
  PEXCEPTION_RECORD ExceptionRecord
);

Parameters

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.

Requirements

   
Target Platform Windows
Header rtlsupportapi.h
DLL Ntdll.dll

See Also

EXCEPTION_RECORD