Partager via


IMsTscAdvancedSettings::put_DisableRdpdr (Windows Embedded CE 6.0)

1/6/2010

This method sets the value of the DisableRdpdr property, which enables or disables the internal client-side component that controls printer and clipboard redirection.

Syntax

HRESULT put_DisableRdpdr(
  BOOL DisableRdpdr
);

Parameters

  • DisableRdpdr
    The value the DisableRdpdr property is to be set to. If it is set to a nonzero value, redirection is disabled, if zero, it is enabled.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Remarks

RDP Clients (version 5.1 and later): Printer and Clipboard redirection are part of the Remote Desktop ActiveX control. The DisableRdpdr property disables and enables the system control of all device redirection.

Windows 2000: The Remote Desktop Protocol device redirector for the Windows 2000 version of the Terminal Services advanced client was located in Rdpdr.dll.

This property should also be used if you are loading an alternate Rdpdr.dll file with functionality different from the default version. See IMsTscAdvancedSettings::put_PluginDlls for more information on loading virtual channel client DLLs.

Requirements

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

See Also

Reference

IMsTscAdvancedSettings
IMsTscAdvancedSettings::get_DisableRdpdr