Share via


IPacket::WriteBytes

Writes an array of bytes to the object.

HRESULT WriteBytes([size_is][in] BYTE in_pBuffer[  ], [in] ULONG in_ArraySize)

Parameters

  • in_pBuffer
    The array of bytes to be written to the packet.

  • in_ArraySize
    The number of bytes to write.

Return Value

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

Managed Equivalent

IPacket..::.WriteBytes

Requirements

DeviceAgentTransport.h

See Also

Reference

IPacket