Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The QueryHardwareSupport method queries the audio endpoint device for its hardware-supported functions.
Syntax
HRESULT QueryHardwareSupport(
[out] DWORD *pdwHardwareSupportMask
);
Parameters
[out] pdwHardwareSupportMask
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 code | Description |
---|---|
|
Parameter pdwHardwareSupportMask is NULL. |
Remarks
This method indicates whether the audio endpoint device implements the following functions in hardware:
- Volume control
- Mute control
- Peak meter
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | endpointvolume.h |