Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initiates an unwind of procedure call frames.
Syntax
NTSYSAPI VOID RtlUnwind2(
[in, optional] FRAME_POINTERS TargetFrame,
[in, optional] PVOID TargetIp,
[in, optional] PEXCEPTION_RECORD ExceptionRecord,
[in] PVOID ReturnValue,
[in] PCONTEXT ContextRecord
);
Parameters
[in, optional] 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.
[in, optional] TargetIp
The continuation address of the unwind. This parameter is ignored if TargetFrame is NULL.
[in, optional] ExceptionRecord
A pointer to an EXCEPTION_RECORD structure.
[in] ReturnValue
A value to be placed in the integer function return register before continuing execution.
[in] ContextRecord
A pointer to a CONTEXT structure that stores context during the unwind operation.
Return value
This function does not return a value.
Remarks
The FRAME_POINTERS structure is defined as follows:
typedef struct _FRAME_POINTERS {
ULONGLONG MemoryStackFp;
ULONGLONG BackingStoreFp;
} FRAME_POINTERS, *PFRAME_POINTERS;
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | winnt.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |