IHardwareAudioEngineBase::GetAvailableOffloadConnectorCount method (audioengineendpoint.h)

The GetAvailableOffloadConnectorCount method retrieves the number of available endpoints that can handle offloaded streams on the hardware audio engine.

Syntax

HRESULT GetAvailableOffloadConnectorCount(
  [in]  LPWSTR _pwstrDeviceId,
  [in]  UINT32 _uConnectorId,
  [out] UINT32 *_pAvailableConnectorInstanceCount
);

Parameters

[in] _pwstrDeviceId

A pointer to the device ID of the hardware audio engine device.

[in] _uConnectorId

The identifier for the endpoint connector.

[out] _pAvailableConnectorInstanceCount

A pointer to the number of available endpoint connectors that can handle offloaded audio streams.

Return value

The GetAvailableOffloadConnectorCount method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header audioengineendpoint.h

See also

IHardwareAudioEngineBase