Share via


IMsRdpClientSecuredSettings:get_AudioRedirectionMode

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Syntax

HRESULT get_AudioRedirectionMode( 
    LONG *pAudioRedirectionMode
);

Parameters

  • paudioRedirectionMode
    [out] Indicates the audio redirection settings. It can be one of the following values:

    0

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

    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.

Requirements

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

See Also

Reference

IMsRdpClientSecuredSettings