RtlUnwind function (winnt.h)

Initiates an unwind of procedure call frames.

Syntax

NTSYSAPI VOID RtlUnwind(
  PVOID             TargetFrame,
  PVOID             TargetIp,
  PEXCEPTION_RECORD ExceptionRecord,
  PVOID             ReturnValue
);

Parameters

TargetFrame

A pointer to the call frame that is the target of the unwind. If this parameter is NULL, the function performs an exit unwind.

TargetIp

The continuation address of the unwind. This parameter is ignored if TargetFrame is NULL.

ExceptionRecord

A pointer to an EXCEPTION_RECORD structure.

ReturnValue

A value to be placed in the integer function return register before continuing execution.

Return value

This function does not return a value.

Requirements

   
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header winnt.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See also

EXCEPTION_RECORD