GetKdContext 巨集 (wdbgexts.h)
GetKdContext 函式會傳回處理器總數和結構中目前處理器的數目,ppi 指向 。
C++
void GetKdContext(
ppi
);
ppi
指向下列結構:
C++
typedef struct _PROCESSORINFO {
USHORT Processor; // current processor
USHORT NumberProcessors; // total number of processors
} PROCESSORINFO, *PPROCESSORINFO;
沒有
結構中的處理器總數。
要求 | 價值 |
---|---|
目標平臺 | 桌面 |
標頭 | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |