Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Writes a packet to the stream. The packet is read by the DevicePacketStream on the desktop computer.
HRESULT Write([in] IPacket *in_pPacket)
Parameters
- in_pPacket
Packet to write.
Return Value
An HRESULT value that indicates the outcome of the method call.
E_INVALIDARG | Input arguments are not valid (packet is NULL pointer).
E_FAIL | for any other failure.
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
Requirements
DeviceAgentTransport.h