CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode BaseOutput_GetName ( CPHOBJECT const  hBaseOutput,
CPCHAR8 const **const  putf8Name 
)

Get the output name.

Parameters
[in]hBaseOutputOutput or controller handle
[out]putf8NamePointer to string pointer filled with the output name string.
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
If succeeded, the string pointed to by *pstrName is valid until the next CHAILink call. The string must be copied in order to maintain it locally.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.