Share via


IMsRdpClientAdvancedSettings::put_RedirectPorts

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets a value that indicates whether local-port (COM and LPT) redirection is enabled.

Syntax

HRESULT put_RedirectPorts( 
    VARIANT_BOOL redirectPorts
);

Parameters

  • redirectPorts
    [in] Indicates whether local-port redirection is enabled.

    Set this parameter to VARIANT_TRUE to enable local-port redirection. Set this parameter to VARIANT_FALSE to make local-port redirection unavailable.

Return Value

Returns S_OK if successful.

Requirements

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

See Also

Reference

IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_RedirectPorts