Delen via


GetDeviceAgentTransport

Dynamically creates a device agent instance, whose type implements the IDeviceAgentTransport interface.

HRESULT GetDeviceAgentTransport(IDeviceAgentTransport **out_pTransport);

Parameters

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

See Also

Other Resources

Unmanaged Device-Side Smart Device Connectivity API