Export (0) Print
Expand All
Expand Minimize

EngQuerySystemAttribute function

The EngQuerySystemAttribute function queries processor-specific or system-specific capabilities.

Syntax


BOOL EngQuerySystemAttribute(
  _In_   ENG_SYSTEM_ATTRIBUTE CapNum,
  _Out_  PDWORD pCapability
);

Parameters

CapNum [in]

Specifies the capability being queried. This parameter can be one of the following values:

ValueMeaning

EngNumberOfProcessors

GDI returns the number of active processors in the system.

EngOptimumAvailableSystemMemory

Not available for use.

EngOptimumAvailableUserMemory

Not available for use.

EngProcessorFeature

GDI returns a bitmask of flags that describe the features of the processor. Currently, GDI sets the QSA_MMX flag when an x86 processor has MMX support. QSA_MMX is relevant only on the x86 platform.

 

pCapability [out]

Pointer to the location that receives the result of the query. The value that GDI places in this parameter depends on the enumerated value specified by CapNum.

Return value

EngQuerySystemAttribute returns TRUE upon success. Otherwise, it returns FALSE.

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft