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 GetChannelConfig method gets the current channel-configuration mask from a channel-configuration control.
Syntax
HRESULT GetChannelConfig(
[out] DWORD *pdwConfig
);
Parameters
[out] pdwConfig
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 |
---|---|
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | devicetopology.h |