Share via


IPacket::WriteChar

Writes a character to the object.

HRESULT WriteChar([in] wchar_t in_wcharValue)

Parameters

  • in_wcharValue
    The character to be written to the packet.

Return Value

An HRESULT value that indicates the outcome of the method call.

Example

In this example, IDeviceAgentTransport::AcceptConnectionEx creates an instance of IDevicePacketStream. The device packet stream is then used to write data to the RemoteAgent object on the desktop. For the complete example, see IDeviceAgentTransport.

Managed Equivalent

IPacket..::.WriteChar

Requirements

DeviceAgentTransport.h

See Also

Reference

IPacket