CHAILink SDK
Version 1.3
|
CLC_ErrorCode LocalDevice_AddPipe | ( | CPHOBJECT const | hLocalDevice, |
CPBOOLEAN const | fSynapse, | ||
CPUINT32 const | dwPipeUserData, | ||
CPHOBJECT *const | phPipe, | ||
CPUINT16 *const | pwPipeID | ||
) |
Add a Pipe.
The new Pipe's ID is the ordinal number in the collection of Pipes going down from 0xFFFE.
[in] | hLocalDevice | Handle to the local device. |
[in] | fSynapse | TRUE if the pipe is a Synapse. A Synapse automatically forward incoming message to all connected pipes, except the source of the message. |
[in] | dwPipeUserData | A 32 bit user data associated to the returned pipe handle. This data will be passed back to the application in pipe notifications. |
[out] | phPipe | Pointer to the handle of the newly created pipe, or CPHOBJECT_NULL if call failed. |
[out] | pwPipeID | Pointer to the pipe ID of the newly created pipe. |