RemoteTextConnectionDataHandler Delegate

Definition

Represents a method that receives a data packet from the text input system on the local (client) computer.

public delegate bool RemoteTextConnectionDataHandler(Platform::Array <byte> ^ pduData);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.Guid(161479624, 35787, 16821, 176, 86, 87, 231, 112, 33, 191, 27)]
class RemoteTextConnectionDataHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.Guid(161479624, 35787, 16821, 176, 86, 87, 231, 112, 33, 191, 27)]
public delegate bool RemoteTextConnectionDataHandler(byte[] pduData);
var remoteTextConnectionDataHandlerHandler = function(pduData){
/* Your code */
}
Public Delegate Function RemoteTextConnectionDataHandler(pduData As Byte()) As Boolean 

Parameters

pduData

Byte[]

byte[]

A memory buffer containing a data packet that conforms to the RDP text input virtualization protocol.

Return Value

Boolean

bool

Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

When this method is invoked, the Remote Desktop client application should forward the data packet to the appropriate remote computer over the TextInput_ClientToServerDVC Dynamic Virtual Channel (DVC).

The Remote Desktop client application should create an instance of this delegate for each remote session it connects to. Each delegate instance should be passed to the constructor of the RemoteTextConnection object that represents the corresponding remote connection.

Applies to