IMsRdpClient

The IMsRdpClient dual interface is the default interface to the Remote Desktop ActiveX control. The interface provides the methods and properties needed to configure and use the client control. It also provides methods to access the IMsRdpClientAdvancedSettings and IMsRdpClientSecuredSettings interfaces. The IMsRdpClient interface was added for RDP clients (version 5.1 and later).

IMsRdpClient derives from the IMsTscAx interface. It includes all the IMsTscAx methods, plus access to additional methods.

Methods

The IMsRdpClient interface contains the following methods.

  • IUnknown methods
  • IDispatch methods
  • IMsTsAsc methods
  • IMsRdpClient methods

The following table shows the methods for the IMsRdpClient interface.

Method Description
put_ColorDepth Sets the value of the ColorDepth property, which specifies the color depth for the client control.
get_ColorDepth Retrieves the value of the ColorDepth property that is currently set for the client control.
get_AdvancedSettings2 Retrieves a pointer to IMsRdpClientAdvancedSettings interface. The interface can be used to set advanced settings for the client control.
get_SecuredSettings2 Retrieves a pointer to IMsRdpClientSecuredSettings interface. The interface can be used to set secured settings for the client control.
get_ExtendedDisconnectReason Retrieves extended information about the client control's reason for disconnection. See IMsRdpClient::get_ExtendedDisconnectReason.
SetVirtualChannelOptions Sets virtual channel options for the client control.
GetVirtualChannelOptions Retrieves the options set for a virtual channel.
RequestClose Requests a graceful shutdown of the client control.

Requirements

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

See Also

Remote Desktop ActiveX Control Interface | IMsRdpClient Properties

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.