CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode Output_Clock_SetPositionPrepare ( CPHOBJECT const  hOutput,
CPBOOLEAN const  fDispatchToAllListeners,
CPUINT32 const  dwPosition 
)

Prepare clock position.

Parameters
[in]hOutputOutput handle
[in]fDispatchToAllListenersNo effect if the Output is IOC_Clock. If the Output is IOC_ClockControl, FALSE send the command to the connected endpoints; TRUE to forward the command to the Clock Generator then to all listeners.
[in]dwPositionNew clock position, expressed in 24cpqn
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
Only available if the Output has the IOC_Clock or IOC_ClockControl capability
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.