Bewerken

Delen via


IMsRdpClientAdvancedSettings5::AudioRedirectionMode property

Sets and retrieves the audio redirection mode and different audio redirection options.

This property is read/write.

Syntax

HRESULT put_AudioRedirectionMode(
  [in]  UINT uiAudioRedirectionMode
);

HRESULT get_AudioRedirectionMode(
  [out] UINT *puiAudioRedirectionMode
);

Property value

Sets different values for the audio redirection mode. This parameter has the following possible values.

AUDIO_MODE_REDIRECT 0 (Audio redirection is enabled and the option for redirection is "Bring to this computer". This is the default mode.)

AUDIO_MODE_PLAY_ON_SERVER 1 (Audio redirection is enabled and the option is "Leave at remote computer". The "Leave at remote computer" option is supported only when connecting remotely to a host computer that is running Windows Vista. If the connection is to a host computer that is running Windows Server 2008, the option "Leave at remote computer" is changed to "Do not play".)

AUDIO_MODE_NONE 2 (Audio redirection is enabled and the mode is "Do not play".)

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientAdvancedSettings5 is defined as FBA7F64E-6783-4405-DA45-FA4A763DABD0

See also

IMsRdpClientAdvancedSettings6

IMsRdpClientAdvancedSettings7

IMsRdpClientAdvancedSettings8

IMsRdpClientAdvancedSettings5