WdmlibProcgrpInitialize function (procgrp.h)

The WdmlibProcgrpInitialize function initializes the Processor Group (ProcGrp) compatibility library.

Syntax

void WdmlibProcgrpInitialize();

Return value

None

Remarks

This function initializes the ProcGrp library. Call this function before calling any of the other functions in the ProcGrp library. The library implements wrapper functions that have the same names as the following processor-group KeXxx routines in Windows 7:

KeGetCurrentProcessorNumberEx

KeGetProcessorIndexFromNumber

KeGetProcessorNumberFromIndex

KeQueryActiveGroupCount

KeQueryActiveProcessorCountEx

KeQueryGroupAffinity

KeQueryMaximumProcessorCount

KeQueryMaximumProcessorCountEx

KeQueryMaximumGroupCount

KeSetSystemAffinityThreadEx

KeSetSystemGroupAffinityThread

KeRevertToUserAffinityThreadEx

KeRevertToUserGroupAffinityThread

KeSetTargetProcessorDpcEx

For more information about the ProcGrp library, see Processor Group Compatibility Library.

Requirements

Requirement Value
Minimum supported client Compatible with Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000.
Target Platform Desktop
Header procgrp.h (include Procgrp.h)
Library Procgrp.lib
IRQL PASSIVE_LEVEL