Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 2.56 KB

nf-ntddk-kequerymaximumgroupcount.md

File metadata and controls

64 lines (52 loc) · 2.56 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ntddk.KeQueryMaximumGroupCount
KeQueryMaximumGroupCount function (ntddk.h)
The KeQueryMaximumGroupCount routine returns the maximum number of groups in a multiprocessor system.
kernel\kequerymaximumgroupcount.htm
kernel
04/30/2018
KeQueryMaximumGroupCount function
KeQueryMaximumGroupCount, KeQueryMaximumGroupCount routine [Kernel-Mode Driver Architecture], k105_c1e0cc3e-f9d0-4570-8a56-b799d2ca5d14.xml, kernel.kequerymaximumgroupcount, wdm/KeQueryMaximumGroupCount
ntddk.h
Wdm.h, Ntddk.h, Ntifs.h
Universal
Available in Windows 7 and later versions of Windows.
NtosKrnl.lib
NtosKrnl.exe
Any level
Windows
KeQueryMaximumGroupCount
ntddk/KeQueryMaximumGroupCount
APIRef
kbSyntax
DllExport
NtosKrnl.exe
KeQueryMaximumGroupCount

KeQueryMaximumGroupCount function (ntddk.h)

-description

The KeQueryMaximumGroupCount routine returns the maximum number of groups in a multiprocessor system.

-returns

KeQueryMaximumGroupCount returns the maximum number of groups.

-remarks

The value that is returned by KeQueryMaximumGroupCount remains constant during runtime. This value depends on the hardware configuration of the multiprocessor system, but it can never exceed a fixed limit that is set by the Windows operating system.

In Windows 7, the maximum number of groups in a multiprocessor system is four, but this value might change in future versions of Windows. The safest way to determine the maximum number of groups in Windows 7 or a later versions of the Windows operating system is to call KeQueryMaximumGroupCount. Kernel-mode drivers that call KeQueryMaximumGroupCount will not require code changes if the formula that is used to calculate the maximum number of groups changes in a future version of Windows.

To obtain the number of active groups in a multiprocessor system, call the KeQueryActiveGroupCount routine.

-see-also

KeQueryActiveGroupCount