Aracılığıyla paylaş


IPacket::ReadInt32

Reads an integer from the object and points the internal iterator to the next data object in the packet.

HRESULT ReadInt32([retval][out] INT32 *out_pInt32Value)

Parameters

  • out_pInt32Value
    A pointer to the integer read from the packet.

Return Value

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

Example

In this example, the packet stream reads data from the RemoteAgent object on the desktop while connected. For the complete example, see IDeviceAgentTransport.

Managed Equivalent

IPacket..::.ReadInt32

Requirements

DeviceAgentTransport.h

See Also

Reference

IPacket