Windows Driver Kit: Installable File System Drivers
RtlCaptureContext
The RtlCaptureContext function retrieves a context record in the context of the caller.
VOID
RtlCaptureContext
__out PCONTEXT ContextRecord,
);
Parameters
- ContextRecord
- A pointer to a
CONTEXT structure.
Return Value
The RtlCaptureContext function does not return a value.
Comments
The ContextRecord that is captured contains processor-specific register data.
For kernel-mode code, the CONTEXT structure is defined in Ntddk.h. For more information, see the
CONTEXT Structure topic in the SDK documentation.
Requirements
Versions: Available in Microsoft Windows XP and later versions of all Windows operating systems.
IRQL: <= DISPATCH_LEVEL
Headers: Declared in Ntifs.h. Include Fltkernel.h or Ntifs.h.
Library: Contained in Ntoskrnl.lib.
See Also
CONTEXT