CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode Input_RegisterClockListenerControlNotificationHandler ( CPHOBJECT const  hInput)

Register Clock Listener Control notification handler for the specified input.

Parameters
[in]hInputInput handle.
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
Concerned fields in the callback notification structure (CLC_NH_CallbackList) : NH_INPUT_CLOCKDEFINITION, NH_INPUT_CLOCKTICK, NH_INPUT_CLOCKCOMMAND and NH_INPUT_CLOCKSETPOSITION. All fields must be set.
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.