Assigns a transport to the engine instance.
PPS_ENGINE pEngine
An opaque handle to an engine created by the EngCreateEngine function.
PPS_TRANSPORT pTransport
An opaque handle to a transport created by the TransportCreate function.
If the function succeeds, the return value is PULSE_STATUS_SUCCESS.
If it fails, it returns one of the PULSE_STATUS values. Possible return codes include, but are not limited to, the following:
| PULSE_STATUS_INSUFFICIENT_RESOURCES0xC0000002 | One of the memory allocations failed during initialization. |
| PULSE_STATUS_INVALID_PARAMETER0xC0000010 | Might happen if
|
| PULSE_STATUS_TRANSPORT_INIT_FAILED0xC0000300 | The transport was not initialized before being assigned to the engine. |
The engine cannot be used without a transport. If this function is successful, the engine is ready to be started with the EngStart function.
The transport should be initialized before use. A transport is considered initialized after a successful call to the TransportSetInterfaceName or TransportSetInterfaceIndex function.
Any previously attached transport will be detached before assigning the new transport. In this case, the engine will be stopped if it was running.