Get a destination by index.
- Parameters
-
[in] | hOutput | Output handle |
[in] | wDestinationIndex | Index, from 0 to destination number - 1 (see Output_GetInfo()). |
[out] | pDestination | Pointer to the endpoint to be filled with the requested destination or empty EndPoint if wDestinationIndex is out of range |
- Returns
- Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
- 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.