Partager via


IMsRdpClientAdvancedSettings::put_RedirectPrinters (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that indicates whether printer redirection is enabled.

Syntax

HRESULT put_RedirectPrinters( 
    VARIANT_BOOL redirectPrinters
);        

Parameters

  • redirectPrinters
    [in] Indicates whether printer redirection is enabled.

    Set this parameter to VARIANT_TRUE to enable printer redirection. Set this parameter to VARIANT_FALSE to make printer 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 Methods for Redirection
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_RedirectPrinters