QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Add a new transport type to the transport registry
int PhRegisterTransportType( PhTransportRegEntry_t *ref );
This function adds a the transport type definition pointed to by ref to the transport registry. For details on defining your own transport types, see "Registering new transport types" in the Drag and Drop chapter of the Photon Programmer's Guide.
- The new type was added successfully.
- The new type couldn't be added because there wasn't enough memory, the type was already defined, or ref was NULL.
"Registering new transport types" in the Drag and Drop chapter of the Photon Programmer's Guide