Share via


IMsRdpClientSecuredSettings::put_AudioRedirectionMode (Windows Embedded CE 6.0)

1/6/2010

This method sets the audio redirection settings, which specify whether to redirect sounds or play sounds at the Terminal Server.

Syntax

HRESULT put_AudioRedirectionMode(
LONG audioRedirectionMode
);

Parameters

  • audioRedirectionMode
    [in] Specifies the new audio redirection settings. It can be one of the following values:

    0

    Redirect remote sounds to the client computer.

    1

    Play sounds at the remote computer.

    2

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

Return Value

Returns S_OK if successful.

Remarks

The AudioRedirectionMode property cannot be set while the Remote Desktop ActiveX Control is connected.

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientSecuredSettings