Partager via


IMsRdpClientAdvancedSettings::get_RedirectPorts (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT get_RedirectPorts( 
    VARIANT_BOOL *pRedirectPorts
);

Parameters

  • pRedirectPorts
    [out] VARIANT_BOOL indicating whether port redirection is enabled.

    If this parameter is VARIANT_TRUE, port redirection is enabled. If this parameter is VARIANT_FALSE, port redirection is not available.

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 Methods for Redirection
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::put_RedirectPorts