Muokkaa

Jaa


IMsRdpClientSecuredSettings::AudioRedirectionMode property

Specifies the audio redirection settings, which specify whether to redirect sounds or play sounds at the Remote Desktop Session Host (RD Session Host) server.

This property is read/write.

Syntax

HRESULT put_AudioRedirectionMode(
  [in]  LONG audioRedirectionMode
);

HRESULT get_AudioRedirectionMode(
  [out] LONG *paudioRedirectionMode
);

Property value

The new settings. This parameter can be one of the following values.

0

Redirect sounds to the client. This is the default value.

1

Play sounds at the remote computer.

2

Disable sound redirection; do not play sounds at the server.

Error codes

Returns S_OK if successful.

Remarks

These properties cannot be set when the control is connected.

Refer to Providing for RDP Client Security for more information.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientSecuredSettings is defined as 605befcf-39c1-45cc-a811-068fb7be346d

See also

IMsRdpClientSecuredSettings