CHAILink SDK
Version 1.3
|
CLC_ErrorCode LocalDevice_AddOutput | ( | CPHOBJECT const | hLocalDevice, |
InOutCapabilities const | outCaps, | ||
CPCHAR8 const *const | utf8OutputName, | ||
CPSECTIONID const *const | pSectionID, | ||
CPUINT32 const | dwOutputUserData, | ||
CPHOBJECT *const | phOutput, | ||
CPUINT16 *const | pwOutputID | ||
) |
Add an Output.
The new Output's ID is the ordinal number in the collection of Outputs.
[in] | hLocalDevice | Handle to the local device. |
[in] | outCaps | the combined Output capabilities. Usually used to give information about the kinds of message issued by this output. However in case of using this output with controllers, the supported message types capability flags are automatically added depending on the declared controller types. |
[in] | utf8OutputName | The output name |
[in] | pSectionID | Pointer to the related section ID. If the instance part is 0xFFFF (wildcard), it is automatically assigned with a unique value. |
[in] | dwOutputUserData | A 32 bit user data associated to the returned output handle. This data will be passed back to the application in output notifications. |
[out] | phOutput | Pointer to the handle of the newly created output, or CPHOBJECT_NULL if call failed. |
[out] | pwOutputID | Pointer to the Output ID of the newly created output. |