RtlCaptureContext function (winnt.h)

Retrieves a context record in the context of the caller.

Syntax

NTSYSAPI VOID RtlCaptureContext(
  [out] PCONTEXT ContextRecord
);

Parameters

[out] ContextRecord

A pointer to a CONTEXT structure.

Return value

This function does not return a value.

Requirements

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

See also

CONTEXT

RtlRestoreContext

Vertdll APIs available in VBS enclaves