Share via


IPacket::WriteInt32

Writes an integer to the object.

HRESULT WriteInt32([in] INT32 in_int32Value)

Parameters

  • in_int32Value
    The integer 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..::.WriteInt32

Requirements

DeviceAgentTransport.h

See Also

Reference

IPacket