hwreqchkapi.h header

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The hardware requirement evaluator (HWREQCHK) library is a set of APIs that allows callers to get information about a hardware device and determine if the machine is eligible to run a specific version of Windows 11 (and new versions of the OS as they become available). The API queries various hardware properties and evaluates rules to determine eligibility.

hwreqchkapi.h contains the following programming interfaces:

Functions

 
EvaluateHardwareRequirement

Evaluates a specific requirement and returns a pass or fail result informing the caller whether the device meets the hardware requirement.
GetHardwareRequirements

Returns a collection of defined hardware requirements for all product-types.
GetHardwareRequirementSystemInfo

Provides the actual hardware device system information that is used to evaluate and compare against a given hardware requirement.
GetLatestHardwareRequirement

Returns the latest defined requirement for a given product type.

Structures

 
HWREQCHK_DEVICE_HARDWARE_EVALUATION

Contains the results of a single hardware requirement check.
HWREQCHK_DEVICE_HARDWARE_REQUIREMENT

Contains the results of a single hardware requirement check.
HWREQCHK_DEVICE_HARDWARE_SYSINFO

Provides information about the device hardware.

Enumerations

 
HWREQCHK_CPU_VENDOR

Indicates the CPU vendor.
HWREQCHK_PRODUCT_TYPE

Indicates the type of product.
HWREQCHK_TARGET_RELEASE

Indicates the target Windows release.