共用方式為


RtlCaptureContext 函式 (ntifs.h)

RtlCaptureContext 函式會擷取呼叫端內容中的內容記錄。

語法

NTSYSAPI VOID RtlCaptureContext(
  [out] PCONTEXT ContextRecord
);

參數

[out] ContextRecord

CONTEXT 結構的指標。

傳回值

此函式不會傳回值。

言論

擷取 ContextRecord 包含處理器特定的緩存器數據。

針對內核模式程式代碼,CONTEXT 結構定義於 Ntddk.h中。 如需詳細資訊,請參閱 SDK 檔中的 CONTEXT 結構主題。

要求

要求 價值
最低支援的用戶端 Windows XP
目標平臺 普遍
標頭 ntifs.h (include Fltkernel.h, Ntifs.h)
連結庫 NtosKrnl.lib;Windows 10 上的 OneCoreUAP.lib
DLL NtDll.dll (使用者模式):NtosKrnl.exe (核心模式)
IRQL <= DISPATCH_LEVEL

另請參閱

CONTEXT