Creates a transport instance.
PPS_TRANSPORT *pTransport
A pointer to the resulting PPS_TRANSPORT structure. PS_TRANSPORT structure is opaque to the user. Treat it as a handle for other transport functions.
PS_TRANSPORT_TYPE TransportType
Specifies the type of transport to be created:
| Value | Meaning |
|---|---|
| pttInvalid0 | Invalid |
| pttSerial1 | Serial port, including any emulated serial device. |
| pttEhci2 | EHCI device, used for USB 2.0 debug port debugging. |
| pttXhci3 | XHCI device, used for USB 3 DbC debugging. |
| pttFirewire4 | FireWire controller. |
| pttThunderbolt5 | Implemented in my dreams only. |
| pttNet6 | Networking. |
| pttAudio7 | Not implemented because it is stupid. |
| pttMem8 | Not implemented. Not even sure what that was supposed to be. |
| pttPipe9 | Windows pipes that provide a serial connection to virtual machines or emulators. |
| pttLocal10 | Local debugging using a vmcall trap and shared memory. |
| pttMax10 | Equals the maximum supported. |
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_DEVICE_NOT_FOUND0xC0000305 | Might happen if: |
| PULSE_STATUS_TRANSPORT_INIT_FAILED0xC0000300 | Might happen if: |
Use the TransportDestroy function to destroy the transport created by this function.
Transport types that can be enumerated are enumerated during the transport instance creation. See TransportEnumerateInterfaces for details.
PulseEng supports only the pttNet and pttXhci transport types on Linux.