Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAudioEndpointVolume::QueryHardwareSupport method

The QueryHardwareSupport method queries the audio endpoint device for its hardware-supported functions.


HRESULT QueryHardwareSupport(
  [out] DWORD *pdwHardwareSupportMask


pdwHardwareSupportMask [out]

Pointer to a DWORD variable into which the method writes a hardware support mask that indicates the hardware capabilities of the audio endpoint device. The method can set the mask to 0 or to the bitwise-OR combination of one or more ENDPOINT_HARDWARE_SUPPORT_XXX constants.

Return value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return codeDescription

Parameter pdwHardwareSupportMask is NULL.



This method indicates whether the audio endpoint device implements the following functions in hardware:

  • Volume control
  • Mute control
  • Peak meter

The system automatically substitutes a software implementation for any function in the preceding list that the endpoint device does not implement in hardware.


Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]



See also

IAudioEndpointVolume Interface



Community Additions

© 2015 Microsoft