Share via


IPacket::WriteBool

Writes a Boolean value to the object.

HRESULT WriteBool([in] VARIANT_BOOL in_varBoolValue)

Parameters

  • in_varBoolValue
    The Boolean value 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..::.WriteBool

Requirements

DeviceAgentTransport.h

See Also

Reference

IPacket