GetLatestHardwareRequirement function (hwreqchkapi.h)

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.

This API returns the latest defined requirement for a given product type.

Syntax

HRESULT GetLatestHardwareRequirement(
  HWREQCHK_PRODUCT_TYPE                productType,
  HWREQCHK_DEVICE_HARDWARE_REQUIREMENT *deviceHardwareRequirement
);

Parameters

productType

Specifies the product type for which the latest defined hardware requirement should be returned. Each defined product type enumeration value can have one or more OS releases that are associated with a hardware requirement.

deviceHardwareRequirement

The latest defined hardware requirement for the given productType.

Return value

Returns an HRESULT value that indicates the success or failure of the call.

Requirements

Requirement Value
Header hwreqchkapi.h
Library HWREQCHK.LIB
DLL HWREQCHK.DLL