Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 RtlCaptureContext
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 ms797633.internet_link_sm(en-us,MSDN.10).gifCONTEXT 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 ms797633.internet_link_sm(en-us,MSDN.10).gifCONTEXT 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

ms797633.internet_link_sm(en-us,MSDN.10).gifCONTEXT


Send feedback on this topic
Built on October 01, 2009
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker