GetKdContext macro (wdbgexts.h)
The GetKdContext function returns the total number of processors and the number of the current processor in the structure ppi points to.
C++
void GetKdContext(
ppi
);
ppi
Points to the following structure:
C++
typedef struct _PROCESSORINFO {
USHORT Processor; // current processor
USHORT NumberProcessors; // total number of processors
} PROCESSORINFO, *PPROCESSORINFO;
None
The total number of processors in the structure.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |