次の方法で共有


IAudioChannelConfig::GetChannelConfig

Previous Next

IAudioChannelConfig::GetChannelConfig

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

HRESULT GetChannelConfig(
  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 code Description
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

Client: Windows Vista

Header: Include Devicetopology.h.

See Also

Previous Next