共用方式為


WdbgExts 目標資訊

To determine if the target uses 32-bit or 64-bit pointers for memory addresses, use the function IsPtr64.

For information about the target's operating system, use the Ioctl operation IG_GET_KERNEL_VERSION. To get the total number of processors on the target and find out which one is the current processor, use the function GetKdContext.

The GetDebuggerData function returns a KDDEBUGGER_DATA64 or KDDEBUGGER_DATA32 structure that contains information about the target that the debugger engine has queried or determined during the current session. 此資訊包括特定索引鍵目標位置和特定狀態值。

偵錯工具會快取從目標取得的一些資訊。 The function GetDebuggerCacheSize will return the size of this cache.

其他資訊

For a more powerful target API, see Target Information in the Using the Debugger Engine API section of this documentation.