IAudioChannelConfig::GetChannelConfig method

The GetChannelConfig method gets the current channel-configuration mask from a channel-configuration control.

Syntax


HRESULT GetChannelConfig(
  [out] DWORD *pdwConfig
);

Parameters

pdwConfig [out]

Pointer to a DWORD variable into which the method writes the current channel-configuration mask value.

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
E_POINTER

Pointer pdwConfig is NULL.

 

Remarks

For information about channel-configuration masks, see the discussion of the KSPROPERTY_AUDIO_CHANNEL_CONFIG property in the Windows DDK documentation.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Devicetopology.h

See also

IAudioChannelConfig Interface
IAudioChannelConfig::SetChannelConfig

 

 

Show: