Share via


IMsTscAdvancedSettings::put_DisableRdpdr

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

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 Values

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 a built-in components of the Remote Desktop ActiveX control. The DisableRdpdr property manages disabling and enabling the system component that controls 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. Refer to IMsTscAdvancedSettings::put_PluginDlls for more information on loading virtual channel client DLLs.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscAdvancedSettings | get_DisableRdpdr

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.