GetDeviceAgentTransport
Dynamically creates a device agent instance, whose type implements the IDeviceAgentTransport interface.
HRESULT GetDeviceAgentTransport(IDeviceAgentTransport **out_pTransport);
Parameters
- out_pTransport
A pointer to an object that implements IDeviceAgentTransport.
Remarks
Use IDeviceAgentTransport to accept connections and create streams from the device to the development computer.
Example
This example dynamically creates an instance of IDeviceAgentTransport. For the complete example, see IDeviceAgentTransport.
Managed Equivalent
DeviceAgentTransportFactory..::.GetAgentTransport
Requirements
DeviceAgentTransport.h