Aracılığıyla paylaş


IPacket::WriteByte

Writes a byte to the object.

HRESULT WriteByte([in] BYTE in_byteValue)

Parameters

  • in_byteValue
    The byte 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..::.WriteByte

Requirements

DeviceAgentTransport.h

See Also

Reference

IPacket