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.
Syntax
void GetKdContext(
ppi
);
Parameters
ppi
Points to the following structure:
typedef struct _PROCESSORINFO {
USHORT Processor; // current processor
USHORT NumberProcessors; // total number of processors
} PROCESSORINFO, *PPROCESSORINFO;
Return value
None
Remarks
Returns
The total number of processors in the structure.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |