CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_Callbacks.h
Go to the documentation of this file.
1 //*********************************************************
2 // File: CLC_Callbacks.h
3 // Project: CopperLan CHAILink Client SDK
4 // Version: 1.3
5 // Release Date: 2014/04/15
6 //*********************************************************
7 
8 /********************************************************************
9 Software License Agreement: CHAILink Client source code
10 
11 The software supplied herewith by Klavis Technology (the “Company”) is intended and
12 supplied to you, the Company’s customer, for use solely and exclusively on embedded
13 CopperLan products needing a CHAILink Client.
14  The software is owned by the Company and/or its supplier, and is protected
15  under applicable copyright laws. All rights are reserved. Any use in violation of the
16  foregoing restrictions may subject the user to criminal sanctions under applicable laws,
17 as well as to civil liability for the breach of the terms and conditions of this license.
18 
19 THIS SOFTWARE MUST REMAIN UNMODIFIED. NO WARRANTIES, WHETHER EXPRESS,
20  IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
21  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE
22 IN CASE OF SOURCE CODE CHANGE BY THE CUSTOMER. IN CASE OF SUCH CHANGE, THE
23 COMPANY SHALL NOT BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
24 OF ANY KIND.
25 ********************************************************************/
26 
27 #ifndef _CLC_CALLBACKS_H_
28 #define _CLC_CALLBACKS_H_
29 
30 #include "CLCm_Defines.h"
31 #include "CLC_Enums.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
41 
48 typedef void (*APP_ERRORCB)(CLC_ErrorCode const errorCode, void * const pParam);
49 
56 typedef void (*APP_CONNECTIONSTATECHANGE)(CPBOOLEAN const fConnected, CPUINT16 const wReason, void * const pParam);
57 
60 typedef void (*APP_COPPERLANDOPROCESS)(void * const pParam);
61 
64 typedef void (*APP_SYSTEMDOPROCESS)(void * const pParam);
65 
67 
68 //=========================================================================
69 // Callback prototypes for async call return
70 //=========================================================================
71 
76 
88  AsyncResult const result,
89  CPHOOKEDOBJECT const hRemoteDevice,
90  CPREMOTEDEVICEINFO const * const pRemoteDeviceInfo,
91  CPCHAR8 const * const utf8Name,
92  CPCHAR8 const * const utf8MachineName,
93  CPHOOKEDOBJECT const hDeviceEnumContext,
94  CPUINT32 const dwClientContextData );
96 
101 
108  AsyncResult const result,
109  DeviceNameFormats const format,
110  CPCHAR8 const * const utf8Name,
111  CPUINT32 const dwClientContextData );
112 
113 
122  AsyncResult const result,
123  DeviceProperties const propertyID,
124  CPCHAR8 const * const utf8Value,
125  CPUINT32 const dwClientContextData );
126 
134  AsyncResult const result,
135  DeviceProperties const propertyID,
136  CPUINT64 const qwValue,
137  CPUINT32 const dwClientContextData );
138 
148  AsyncResult const result,
149  CPUINT16 const wInputID,
150  CPCHAR8 const * const utf8Name,
151  InOutCapabilities const inCaps,
152  CPSECTIONID const * const pSectionID,
153  CPUINT32 const dwClientContextData );
154 
165  AsyncResult const result,
166  CPUINT16 const wOutputID,
167  CPCHAR8 const * const utf8Name,
168  InOutCapabilities const outCaps,
169  CPSECTIONID const * const pSectionID,
170  CPCHAR8 const * const utf8SectionName,
171  CPUINT32 const dwClientContextData );
172 
181  AsyncResult const result,
182  CPUINT16 const wOutputID,
183  CPUINT16 const wDestinationIndex,
184  CPCHAR8 const * const utf8Name,
185  CPENDPOINT const * pDestination,
186  CPUINT32 const dwClientContextData );
187 
194  AsyncResult const result,
195  CPUINT16 const wOutputID,
196  CPUINT16 const wDestCount,
197  CPUINT32 const dwClientContextData);
198 
205  AsyncResult const result,
206  CPDEVICEID const * const pSourceDevID,
207  CPDEVICEID const * const pConnectedDevID,
208  CPUINT32 const dwClientContextData);
209 
222  AsyncResult const result,
223  CPUINT16 const wOutputID_or_ControllerID,
224  CPUINT16 const wDestinationIndex,
225  CPENDPOINT const * pDestination,
226  CPHOOKEDOBJECT const hTargetRemoteDevice,
227  CPCHAR8 const * const utf8EndPointName,
228  CPCHAR8 const * const utf8TargetMachineName,
229  CPUINT32 const dwClientContextData );
230 
246  CPSECTIONID const * const pSectionID,
247  CPPARAMETERID const * const pParamID,
248  CPCHAR8 const * const utf8Name,
249  CPHOOKEDOBJECT const hIndexListID,
250  CPUINT16 const wMidPointValue,
251  CPCHAR8 const * const utf8LabelMin,
252  CPCHAR8 const * const utf8LabelMidPoint,
253  CPCHAR8 const * const utf8LabelMax,
254  DataTypes const preferredDataType,
255  CPUINT16 const wGroup,
256  ModifierInformationProfiles const informationProfiles,
257  ControllerTypes preferredControllerType,
258  CPUINT32 const dwClientContextData);
259 
272  CPSECTIONID const * const pSectionID,
273  CPPARAMETERID const * const pParamID,
274  CPCHAR8 const * const utf8Name,
275  CPHOOKEDOBJECT const hIndexListID,
276  CPUINT16 const wItemIndexMax,
277  CPHOOKEDOBJECT const hSelectorItemListID,
278  CPUINT16 const wGroup,
279  SelectorInformationProfiles const informationProfiles,
280  ControllerTypes preferredControllerType,
281  CPUINT32 const dwClientContextData );
282 
293  CPSECTIONID const * const pSectionID,
294  CPPARAMETERID const * const pParamID,
295  CPCHAR8 const * const utf8Name,
296  CPHOOKEDOBJECT const hIndexListID,
297  CPUINT16 const wGroup,
298  TextInformationProfiles const informationProfiles,
299  ControllerTypes preferredControllerType,
300  CPUINT32 const dwClientContextData );
301 
306  CPSECTIONID const * const pSectionID,
307  CPUINT32 const dwClientContextData );
308 
324  AsyncResult const result,
325  CPUINT16 const wControllerID,
326  CPCHAR8 const * const utf8Name,
327  ControllerTypes const controllerTypes,
328  MessageTypes const preferredMsgType,
329  CPUINT16 const wPreferredMsgNum,
330  CPUINT16 const wGroup,
331  CPSECTIONID const * const pSectionID,
332  CPCHAR8 const * const utf8SectionName,
333  CPCONTROLLERASSIGNMENT const * const pCurrentAssignment,
334  CPUINT32 const dwClientContextData );
335 
347  AsyncResult const result,
348  CPPARAMETERID const * const pParamID,
349  CPVALUE const * const pMinValue,
350  CPVALUE const * const pMidValue,
351  CPVALUE const * const pMaxValue,
352  CPUINT32 const dwClientContextData );
353 
367  AsyncResult const result,
368  CPHOOKEDOBJECT const hSelectorItemListID,
369  CPUINT16 const wItemIndex,
370  CPUINT16 const wValue,
371  CPCHAR8 const * const utf8Text,
372  CPUINT32 const dwClientContextData );
373 
386  AsyncResult const result,
387  CPHOOKEDOBJECT const hIndexListID,
388  CPUINT16 const wMsgIndex,
389  CPCHAR8 const * const utf8Label,
390  CPUINT32 const dwClientContextData);
391 
406  AsyncResult const result,
407  SnapshotBlockPriorities const priority,
408  SnapshotTypes const snapshotType,
409  CPUINT32 const dwOffset,
410  CPUINT32 const dwSnapshotContextData,
411  CPUINT16 const wBlockSize,
412  CPBOOLEAN const fIsLastBlock,
413  CPBYTE const * const pBuffer,
414  CPUINT32 const dwClientContextData);
415 
422  Errors const returnCode,
423  CPUINT32 const dwNextOffset,
424  CPUINT32 const dwSnapshotContextData,
425  CPUINT32 const dwClientContextData );
426 
433  SmartConnectAsyncResult const status,
434  CPUINT16 const wSessionID,
435  Errors const errCode,
436  CPUINT32 const dwClientContextData);
438 
439 //=========================================================================
440 // Callback prototypes for notification handler
441 //=========================================================================
442 
447 
451 typedef void(*NH_CHAI_NOTIFICATION)(
452  CHAINotificationTypes const notification,
453  CPENDPOINT const * const pOptionalEndpoint);
454 
466  DeviceDeclarationNotificationTypes const declarationType,
467  CPREMOTEDEVICEINFO const * const pRemoteDeviceInfo,
468  CPCHAR8 const * const utf8DeviceName,
469  CPHOOKEDOBJECT const hRemoteDevice);
470 
476 typedef void(*NH_CHAI_DEVICEDISCARDED)(
477  CPDEVICEID const * const pDevID,
478  DeviceDiscardedReasons const reason );
479 
486  CPDEVICEID const * const pOldDeviceID,
487  CPDEVICEID const * const pNewDeviceID );
488 
496 typedef void(*NH_CHAI_WARNING)(
497  CPENDPOINT const * pOptionalSource,
498  WarningCodes const code,
499  WarningDomains const eDomain,
500  CPCHAR8 const * const utf8Title,
501  CPCHAR8 const * const utf8Content );
502 
513 typedef void(*NH_CHAI_SIGNAL)(
514  CPUINT16 const wSignalNumber,
515  CPUINT16 const wOptionalData0,
516  CPUINT16 const wOptionalData1,
517  CPUINT16 const wOptionalData2,
518  CPUINT16 const wOptionalData3,
519  CPCHAR8 const * const utf8OptionalData,
520  CPENDPOINT const * const pOptionalEndPoint,
521  CPDEVICEID const * const pSourceDevID );
522 
528 typedef void(*NH_CHAI_GLOBALTIMER)(
529  SystemTime const globalTime,
530  GlobalTimerNotificationFlags const flags);
531 
533 
538 
541 
553  CPHOBJECT const hLocalDevice,
554  ObjectTypes const deviceType,
555  CPUINT32 const dwDeviceUserData,
556  LocalDeviceNotificationTypes const notification );
558 
561 
575  CPHOBJECT const hLocalDevice,
576  ObjectTypes const deviceType,
577  CPUINT32 const dwDeviceUserData,
578  CPUINT16 const wRequestID,
579  SnapshotTypes const snapshotType,
580  CPUINT32 const dwOffset,
581  CPUINT32 const dwSnapshotContextData,
582  CPUINT16 const wMaxBlockSize );
583 
599  CPHOBJECT const hLocalDevice,
600  ObjectTypes const deviceType,
601  CPUINT32 const dwDeviceUserData,
602  CPUINT16 const wRequestID,
603  SnapshotTypes const snapshotType,
604  CPUINT32 const dwOffset,
605  CPUINT32 const dwSnapshotContextData,
606  CPUINT16 const wBlockSize,
607  CPBOOLEAN const fIsLastBlock,
608  CPBYTE const *const pBlockData );
610 
613 
627  CPHOBJECT const hLocalDevice,
628  ObjectTypes const deviceType,
629  CPUINT32 const dwDeviceUserData,
630  CPUINT16 const wSessionID,
631  CPUINT16 const wArraySize,
632  CPBOOLEAN const fTruncated);
633 
646  CPHOBJECT const hLocalDevice,
647  ObjectTypes const deviceType,
648  CPUINT32 const dwDeviceUserData,
649  CPUINT16 const wSessionID,
650  CPDEVICEID const * const pSourceDevID,
651  CPUINT16 const wArraySize,
652  CPBOOLEAN const fTruncated);
653 
666  CPHOBJECT const hLocalDevice,
667  ObjectTypes const deviceType,
668  CPUINT32 const dwDeviceUserData,
669  CPUINT16 const wSessionID,
670  CPDEVICEID const * const pSourceDevID,
671  CPUINT16 const wArraySize,
672  CPBOOLEAN const fTruncated);
673 
683  CPHOBJECT const hLocalDevice,
684  ObjectTypes const deviceType,
685  CPUINT32 const dwDeviceUserData,
686  CPUINT16 const wSessionID);
688 
691 
705 typedef void(*NH_LOCALDEVICE_SIGNAL)(
706  CPHOBJECT const hLocalDevice,
707  ObjectTypes const deviceType,
708  CPUINT32 const dwDeviceUserData,
709  CPUINT16 const wSignalNumber,
710  CPUINT16 const wOptionalData0,
711  CPUINT16 const wOptionalData1,
712  CPUINT16 const wOptionalData2,
713  CPUINT16 const wOptionalData3,
714  CPCHAR8 const * const utf8OptionalData,
715  CPENDPOINT const * const pOptionalEndPoint,
716  CPDEVICEID const * const pSourceDevID );
718 
720 
725 
734 typedef void(*NH_CP2MIDI_MIDIMESSAGE)(
735  CPHOBJECT const hLocalDevice,
736  ObjectTypes const deviceType,
737  CPUINT32 const dwDeviceUserData,
738  CPUINT8 const bSize,
739  CPBYTE const * const pData,
740  CPENDPOINT const * const pSource );
741 
751 typedef void(*NH_CP2MIDI_MIDISYSEX)(
752  CPHOBJECT const hLocalDevice,
753  ObjectTypes const deviceType,
754  CPUINT32 const dwDeviceUserData,
755  CPBOOLEAN const fLastBlock,
756  CPUINT8 const bSize,
757  CPBYTE const * const pData,
758  CPENDPOINT const * const pSource );
759 
761 
766 
775  CPHOBJECT const hLocalDevice,
776  ObjectTypes const deviceType,
777  CPUINT32 const dwDeviceUserData,
778  CPBOOLEAN const fConnected);
779 
790  CPHOBJECT const hLocalDevice,
791  ObjectTypes const deviceType,
792  CPUINT32 const dwDeviceUserData,
793  CPUINT8 const bChannel,
794  CPEVENTMSG const * const pEvent);
795 
806  CPHOBJECT const hLocalDevice,
807  ObjectTypes const deviceType,
808  CPUINT32 const dwDeviceUserData,
809  CPUINT8 const bChannel,
810  CPMODIFIERMSG const * const pModifier);
811 
822  CPHOBJECT const hLocalDevice,
823  ObjectTypes const deviceType,
824  CPUINT32 const dwDeviceUserData,
825  CPUINT8 const bChannel,
826  CPSELECTORMSG const * const pSelector);
827 
838  CPHOBJECT const hLocalDevice,
839  ObjectTypes const deviceType,
840  CPUINT32 const dwDeviceUserData,
841  CPBOOLEAN const fIsLastBlock,
842  CPUINT8 const bDataSize,
843  CPUINT8 const * const pData);
844 
852  CPHOBJECT const hLocalDevice,
853  ObjectTypes const deviceType,
854  CPUINT32 const dwDeviceUserData);
855 
864  CPHOBJECT const hLocalDevice,
865  ObjectTypes const deviceType,
866  CPUINT32 const dwDeviceUserData,
867  ClockCommands const command);
868 
870 
875 
884  CPHOBJECT const hLocalDevice,
885  ObjectTypes const deviceType,
886  CPUINT32 const dwDeviceUserData,
887  CPBOOLEAN const fConnected);
888 
897  CPHOBJECT const hLocalDevice,
898  ObjectTypes const deviceType,
899  CPUINT32 const dwDeviceUserData);
900 
902 
907 
922  CPHOBJECT const hSharedDisplay,
923  ObjectTypes const deviceType,
924  CPUINT32 const dwDeviceUserData,
925  CPDEVICEID const * pSourceDevID );
926 
935  CPHOBJECT const hSharedDisplay,
936  ObjectTypes const deviceType,
937  CPUINT32 const dwDeviceUserData);
938 
947  CPHOBJECT const hSharedDisplay,
948  ObjectTypes const deviceType,
949  CPUINT32 const dwDeviceUserData);
950 
962  CPHOBJECT const hSharedDisplay,
963  ObjectTypes const deviceType,
964  CPUINT32 const dwDeviceUserData,
965  CPUINT16 const wX,
966  CPUINT16 const wY,
967  CPCHAR8 const * const utf8Text );
968 
980  CPHOBJECT const hSharedDisplay,
981  ObjectTypes const deviceType,
982  CPUINT32 const dwDeviceUserData,
983  CPUINT16 const wX,
984  CPUINT16 const wY,
985  SharedDisplayCursorTypes const type );
987 
992 
1003  CPHOBJECT const hSharedDisplayClient,
1004  ObjectTypes const deviceType,
1005  CPUINT32 const dwDeviceUserData,
1006  SharedDisplayCaps const displayCaps,
1007  CPUINT16 const wWidth,
1008  CPUINT16 const wHeight );
1009 
1017  CPHOBJECT const hSharedDisplayClient,
1018  ObjectTypes const deviceType,
1019  CPUINT32 const dwDeviceUserData);
1020 
1030  CPHOBJECT const hSharedDisplayClient,
1031  ObjectTypes const deviceType,
1032  CPUINT32 const dwDeviceUserData,
1033  SharedDisplayKeyTypes const type,
1034  CPCHAR8 const * const utf8FromKeyboard );
1035 
1037 
1042 
1045 
1056 typedef void(*NH_INPUT_SOURCECHANGE)(
1057  CPHOBJECT const hInput,
1058  CPUINT32 const dwInputUserData,
1059  CPENDPOINT const * const pSource,
1060  ISCCauses const operation );
1062 
1065 
1077 typedef void(*NH_INPUT_MESSAGE)(
1078  CPHOBJECT const hInput,
1079  CPUINT32 const dwInputUserData,
1080  CPHOOKEDOBJECT const hMessage,
1081  ObjectTypes const messageType,
1082  CPENDPOINT const * const pSource,
1083  CPTIMESTAMPINFO const * const pTimeStamp);
1084 
1093 typedef void(*NH_INPUT_EVENTMESSAGE)(
1094  CPHOBJECT const hInput,
1095  CPUINT32 const dwInputUserData,
1096  CPEVENTMSG const * const pEvent,
1097  CPENDPOINT const * const pSource,
1098  CPTIMESTAMPINFO const * const pTimeStamp);
1099 
1110  CPHOBJECT const hInput,
1111  CPUINT32 const dwInputUserData,
1112  CPMODIFIERMSG const * const pModifier,
1113  CPENDPOINT const * const pSource,
1114  CPTIMESTAMPINFO const * const pTimeStamp);
1115 
1126  CPHOBJECT const hInput,
1127  CPUINT32 const dwInputUserData,
1128  CPSELECTORMSG const * const pSelector,
1129  CPENDPOINT const * const pSource,
1130  CPTIMESTAMPINFO const * const pTimeStamp);
1131 
1141 typedef void(*NH_INPUT_TEXTMESSAGE)(
1142  CPHOBJECT const hInput,
1143  CPUINT32 const dwInputUserData,
1144  CPTEXTMSG const * const pText,
1145  CPENDPOINT const * const pSource,
1146  CPTIMESTAMPINFO const * const pTimeStamp);
1147 
1159  CPHOBJECT const hInput,
1160  CPUINT32 const dwInputUserData,
1161  CPBOOLEAN const fIsLastBlock,
1162  CPUINT8 const bDataSize,
1163  CPUINT8 const * const pData,
1164  CPENDPOINT const * const pSource,
1165  CPTIMESTAMPINFO const * const pTimeStamp);
1167 
1170 
1180  CPHOBJECT const hInput,
1181  CPUINT32 const dwInputUserData,
1182  CPENDPOINT const * const pSource,
1183  CPUINT16 const wBPM,
1184  CPUINT8 const bCPQNMultiplier);
1185 
1195 typedef void(*NH_INPUT_CLOCKTICK)(
1196  CPHOBJECT const hInput,
1197  CPUINT32 const dwInputUserData,
1198  CPENDPOINT const * pSource,
1199  CPUINT16 const wBPM,
1200  CPUINT16 const wResolution,
1201  CPUINT16 const wTick);
1202 
1210 typedef void(*NH_INPUT_CLOCKCOMMAND)(
1211  CPHOBJECT const hInput,
1212  CPUINT32 const dwInputUserData,
1213  CPENDPOINT const * pSource,
1214  ClockCommands const command);
1215 
1225  CPHOBJECT const hInput,
1226  CPUINT32 const dwInputUserData,
1227  CPENDPOINT const * pSource,
1228  CPUINT32 const dwPosition,
1229  CPBOOLEAN const fImmediate);
1231 
1234 
1247  CPHOBJECT const hInput,
1248  CPUINT32 const dwInputUserData,
1249  CPHOBJECT const hParameter,
1250  ObjectTypes const parameterType,
1251  CPUINT32 const dwParameterUserData,
1252  CPUINT16 const wIndex);
1253 
1266  CPHOBJECT const hInput,
1267  CPUINT32 const dwInputUserData,
1268  CPHOBJECT const hParameter,
1269  CPUINT32 const dwParameterUserData,
1270  CPUINT16 const wUpdatedRawValue,
1271  CPMODIFIERMSG const * const pModifier);
1272 
1287  CPHOBJECT const hInput,
1288  CPUINT32 const dwInputUserData,
1289  CPHOBJECT const hParameter,
1290  CPUINT32 const dwParameterUserData,
1291  CPHOBJECT const hSelectorItemList,
1292  CPUINT16 const wValue,
1293  CPSELECTORMSG const * const pSelector);
1294 
1303  CPHOBJECT const hInput,
1304  CPUINT32 const dwInputUserData,
1305  CPHOBJECT const hParameter,
1306  CPUINT32 const dwParameterUserData,
1307  CPTEXTMSG const * const pText);
1309 
1311 
1316 
1319 
1327 typedef void(*NH_OUTPUT_FLOWCONTROL)(
1328  CPHOBJECT const hOutput,
1329  CPUINT32 const dwOutputUserData,
1330  CPBOOLEAN const fReady);
1331 
1336 typedef void (*NH_OUTPUT_DATACONSUMED)(
1337  CPHOBJECT const hOutput,
1338  CPUINT32 const dwOutputUserData);
1339 
1349  CPHOBJECT const hOutput,
1350  CPUINT32 const dwOutputUserData,
1351  CPENDPOINT const * const pDestination,
1352  ODCOperations const operation );
1353 
1362  CPHOBJECT const hOutput,
1363  CPUINT32 const dwOutputUserData,
1364  CPENDPOINT const * pSource );
1365 
1375  CPHOBJECT const hOutput,
1376  CPUINT32 const dwOutputUserData,
1377  CPHOOKEDOBJECT const hIndexListID );
1378 
1389  CPHOBJECT const hOutput,
1390  CPUINT32 const dwOutputUserData,
1391  CPHOOKEDOBJECT const hSelectorItemListID,
1392  CPUINT16 const wNewSize);
1393 
1408  CPHOBJECT const hOutput,
1409  CPUINT32 const dwOutputUserData,
1410  CPENDPOINT const * const pSource,
1411  CPPARAMETERID const * const pParamID,
1412  CPVALUE const * const pValue,
1413  CPCHAR8 const * const utf8ValueText,
1414  RefreshValueAttributes const attributes);
1415 
1431  CPHOBJECT const hOutput,
1432  CPUINT32 const dwOutputUserData,
1433  CPENDPOINT const * const pSource,
1434  CPPARAMETERID const * const pParamID,
1435  CPUINT16 const wValue,
1436  CPCHAR8 const * const utf8ValueText,
1437  RefreshValueAttributes const attributes,
1438  CPUINT16 const wProportionalValue);
1439 
1453  CPHOBJECT const hOutput,
1454  CPUINT32 const dwOutputUserData,
1455  CPENDPOINT const * const pSource,
1456  CPPARAMETERID const * const pParamID,
1457  CPCHAR8 const * const utf8ValueText,
1458  RefreshValueAttributes const attributes );
1460 
1463 
1471  CPHOBJECT const hOutput,
1472  CPUINT32 const dwOutputUserData,
1474 
1476 
1479 
1487  CPHOBJECT const hController,
1488  CPUINT32 const dwControllerUserData,
1489  CPBOOLEAN const fConnected);
1490 
1501  CPHOBJECT const hController,
1502  CPUINT32 const dwControllerUserData,
1503  CPVALUE const * const pValue,
1504  CPCHAR8 const * const utf8ValueText,
1505  RefreshValueAttributes const attributes);
1506 
1518  CPHOBJECT const hController,
1519  CPUINT32 const dwControllerUserData,
1520  CPUINT16 const wValue,
1521  CPCHAR8 const * const utf8ValueText,
1522  RefreshValueAttributes const attributes,
1523  CPUINT16 const wProportionalValue);
1524 
1534  CPHOBJECT const hController,
1535  CPUINT32 const dwControllerUserData,
1536  CPCHAR8 const * const utf8ValueText,
1537  RefreshValueAttributes const attributes);
1538 
1547 typedef void(*NH_CONTROLLER_ASSIGN)(
1548  CPHOBJECT const hController,
1549  CPUINT32 const dwControllerUserData,
1550  ControllerAssignReasons const reason,
1551  CPCONTROLLERASSIGNMENT const * const pAssignment);
1552 
1559  CPHOBJECT const hController,
1560  CPUINT32 const dwControllerUserData,
1561  CPCHAR8 const * const utf8ParameterPath);
1562 
1571  CPHOBJECT const hController,
1572  CPUINT32 const dwControllerUserData,
1573  CPBOOLEAN const fIsLearning);
1574 
1576 
1578 
1583 
1593 typedef void(*NH_PIPE_PEERCHANGE)(
1594  CPHOBJECT const hPipe,
1595  CPUINT32 const dwPipeUserData,
1596  CPENDPOINT const * const pPeer,
1597  CPBOOLEAN const fNewPeer );
1598 
1603 typedef void(*NH_PIPE_DATACONSUMED)(
1604  CPHOBJECT const hPipe,
1605  CPUINT32 const dwPipeUserData);
1606 
1616 typedef void(*NH_PIPE_MESSAGE)(
1617  CPHOBJECT const hPipe,
1618  CPUINT32 const dwPipeUserData,
1619  CPHOBJECT const hMessage,
1620  ObjectTypes const messageType,
1621  CPENDPOINT const * const pPeer);
1622 
1630 typedef void(*NH_PIPE_EVENTMESSAGE)(
1631  CPHOBJECT const hPipe,
1632  CPUINT32 const dwPipeUserData,
1633  CPEVENTMSG const * const pEvent,
1634  CPENDPOINT const * const pPeer);
1635 
1644  CPHOBJECT const hPipe,
1645  CPUINT32 const dwPipeUserData,
1646  CPMODIFIERMSG const * const pModifier,
1647  CPENDPOINT const * const pPeer);
1648 
1657  CPHOBJECT const hPipe,
1658  CPUINT32 const dwPipeUserData,
1659  CPSELECTORMSG const * const pSelector,
1660  CPENDPOINT const * const pPeer);
1661 
1669 typedef void(*NH_PIPE_TEXTMESSAGE)(
1670  CPHOBJECT const hPipe,
1671  CPUINT32 const dwPipeUserData,
1672  CPTEXTMSG const * const pText,
1673  CPENDPOINT const * const pPeer);
1674 
1676 
1681 
1688 typedef void(*NH_REMOTEDEVICE_READY)(
1689  CPHOOKEDOBJECT const hRemoteDevice,
1690  CPBOOLEAN const fValid,
1691  CPCHAR8 const * const utf8Name,
1692  CPCHAR8 const * const utf8MachineName);
1694 
1699 
1704 typedef void(*NH_SERVER_ASKTOENTERBL)(void);
1706 
1708 typedef struct
1709 {
1714  void * pErrorCBParam;
1719 
1720 
1722 #if defined(ARH_ENABLED) || defined(FORCE_ALL_CALLBACKS)
1723 typedef struct
1724 {
1725 #if defined(ENABLE_NETWORK_SEARCH) || defined(FORCE_ALL_CALLBACKS)
1726  struct
1728  {
1730  } CHAI;
1731 #endif
1732 #if defined(ENABLE_REMOTE_DEVICE) || defined(FORCE_ALL_CALLBACKS)
1733  struct
1735  {
1756  } RemoteDevice;
1757 #endif
1759 #endif // defined(ARH_ENABLED) || defined(FORCE_ALL_CALLBACKS)
1760 
1762 typedef struct
1763 {
1765  struct
1766  {
1772 #if defined(ENABLE_SIGNAL) || defined(FORCE_ALL_CALLBACKS)
1774 #endif
1775 #if defined(ENABLE_GLOBAL_TIMER) || defined(FORCE_ALL_CALLBACKS)
1777 #endif
1778  } CHAI;
1779 #if !defined(NO_DEVICE_ENABLED) || defined(FORCE_ALL_CALLBACKS)
1780  struct
1782  {
1784 #if defined(ENABLE_SNAPSHOT) || defined(FORCE_ALL_CALLBACKS)
1787 #endif
1788 #if defined(ENABLE_SMARTCONNECT_TARGET) || defined(FORCE_ALL_CALLBACKS)
1793 #endif
1794 #if defined(ENABLE_SIGNAL) || defined(FORCE_ALL_CALLBACKS)
1796 #endif
1797  } LocalDevice;
1798 
1799 #if defined(ENABLE_DEVICE_COPPERLAN2MIDI) || defined(FORCE_ALL_CALLBACKS)
1800  struct
1802  {
1805  } CP2MIDI;
1806 #endif
1807 
1808 #if defined(ENABLE_DEVICE_VMIDILINKIN) || defined(FORCE_ALL_CALLBACKS)
1809  struct
1811  {
1813 #if defined(ENABLE_MESSAGE_EVENT) || defined(FORCE_ALL_CALLBACKS)
1814  NH_VMIDILINKIN_EVENTMESSAGE pEventMessage;
1815 #endif
1816 #if defined(ENABLE_MESSAGE_MODIFIER) || defined(FORCE_ALL_CALLBACKS)
1817  NH_VMIDILINKIN_MODIFIERMESSAGE pModifierMessage;
1818 #endif
1819 #if defined(ENABLE_MESSAGE_SELECTOR) || defined(FORCE_ALL_CALLBACKS)
1820  NH_VMIDILINKIN_SELECTORMESSAGE pSelectorMessage;
1821 #endif
1822 #if defined(ENABLE_MESSAGE_MIDISYSEX) || defined(FORCE_ALL_CALLBACKS)
1823  NH_VMIDILINKIN_MIDISYSEXMESSAGE pMIDISysExMessage;
1824 #endif
1825 #if defined(ENABLE_CLOCK) || defined(FORCE_ALL_CALLBACKS)
1828 #endif
1829  } VMIDILinkIn;
1830 #endif
1831 
1832 #if defined(ENABLE_DEVICE_VMIDILINKOUT) || defined(FORCE_ALL_CALLBACKS)
1833  struct
1835  {
1838  } VMIDILinkOut;
1839 #endif
1840 
1841 #if defined(ENABLE_DEVICE_SHAREDDISPLAY) || defined(FORCE_ALL_CALLBACKS)
1842  struct
1844  {
1850  } SharedDisplay;
1851 #endif
1852 #if defined(ENABLE_DEVICE_SHAREDDISPLAY_CLIENT) || defined(FORCE_ALL_CALLBACKS)
1853  struct
1855  {
1859  } SharedDisplayClient;
1860 #endif
1861 
1862 #if defined(ENABLE_INPUT) || defined(FORCE_ALL_CALLBACKS)
1863  struct
1865  {
1867 #if defined(ENABLE_MESSAGE_GENERIC) || defined(FORCE_ALL_CALLBACKS)
1868  NH_INPUT_MESSAGE pMessage;
1869 #endif
1870 #if defined(ENABLE_MESSAGE_EVENT) || defined(FORCE_ALL_CALLBACKS)
1871  NH_INPUT_EVENTMESSAGE pEventMessage;
1872 #endif
1873 #if defined(ENABLE_MESSAGE_MODIFIER) || defined(FORCE_ALL_CALLBACKS)
1874  NH_INPUT_MODIFIERMESSAGE pModifierMessage;
1875 #endif
1876 #if defined(ENABLE_MESSAGE_SELECTOR) || defined(FORCE_ALL_CALLBACKS)
1877  NH_INPUT_SELECTORMESSAGE pSelectorMessage;
1878 #endif
1879 #if defined(ENABLE_MESSAGE_TEXT) || defined(FORCE_ALL_CALLBACKS)
1880  NH_INPUT_TEXTMESSAGE pTextMessage;
1881 #endif
1882 #if defined(ENABLE_MESSAGE_MIDISYSEX) || defined(FORCE_ALL_CALLBACKS)
1883  NH_INPUT_MIDISYSEXMESSAGE pMIDISysExMessage;
1884 #endif
1885 #if defined(ENABLE_CLOCK) || defined(FORCE_ALL_CALLBACKS)
1890 #endif
1891 #if defined(ENABLE_PARAMETER) || defined(FORCE_ALL_CALLBACKS)
1896 #endif
1897  } Input;
1898 #endif // defined(ENABLE_INPUT) || defined(FORCE_ALL_CALLBACKS)
1899 
1900 #if defined(ENABLE_OUTPUT) || defined(FORCE_ALL_CALLBACKS)
1901  struct
1903  {
1907 #if defined(ENABLE_PARAMETER_FEEDBACK) || defined(FORCE_ALL_CALLBACKS)
1914 #endif
1915 #if defined(ENABLE_CLOCK) || defined(FORCE_ALL_CALLBACKS)
1917 #endif
1918  } Output;
1919 #endif // defined(ENABLE_OUTPUT) || defined(FORCE_ALL_CALLBACKS)
1920 
1921 #if defined(ENABLE_CONTROLLER) || defined(FORCE_ALL_CALLBACKS)
1922  struct
1924  {
1932  }Controller;
1933 #endif
1934 
1935 #if defined(ENABLE_PIPE) || defined(FORCE_ALL_CALLBACKS)
1936  struct
1938  {
1941 #if defined(ENABLE_MESSAGE_GENERIC) || defined(FORCE_ALL_CALLBACKS)
1942  NH_PIPE_MESSAGE pMessage;
1943 #endif
1944 #if defined(ENABLE_MESSAGE_EVENT) || defined(FORCE_ALL_CALLBACKS)
1945  NH_PIPE_EVENTMESSAGE pEventMessage;
1946 #endif
1947 #if defined(ENABLE_MESSAGE_MODIFIER) || defined(FORCE_ALL_CALLBACKS)
1948  NH_PIPE_MODIFIERMESSAGE pModifierMessage;
1949 #endif
1950 #if defined(ENABLE_MESSAGE_SELECTOR) || defined(FORCE_ALL_CALLBACKS)
1951  NH_PIPE_SELECTORMESSAGE pSelectorMessage;
1952 #endif
1953 #if defined(ENABLE_MESSAGE_TEXT) || defined(FORCE_ALL_CALLBACKS)
1954  NH_PIPE_TEXTMESSAGE pTextMessage;
1955 #endif
1956  } Pipe;
1957 #endif // defined(ENABLE_PIPE) || defined(FORCE_ALL_CALLBACKS)
1958 #endif // !defined(NO_DEVICE_ENABLED)
1959 
1960 #if defined(ENABLE_REMOTE_DEVICE) || defined(FORCE_ALL_CALLBACKS)
1961  struct
1963  {
1965  } RemoteDevice;
1966 #endif
1967 
1969  struct
1970  {
1972  } Server;
1974 
1985 // Depending on modules activated in your customization file (CLC_Customization.h), notifications are not necessary present in the structure.
1988 typedef struct
1989 {
1991 #if defined(ARH_ENABLED) || defined(FORCE_ALL_CALLBACKS)
1993 #endif
1995 } CLC_Callbacks;
1996 
1997 extern CLC_Callbacks g_CLCCb;
1998 
1999 /* Sample of Asynchronous return and notification callback list implementation
2000 // Following structures are templates for CLC_ARH_CallbackList and CLC_NH_CallbackList definition.
2001 #if defined(ARH_ENABLED) || defined(FORCE_ALL_CALLBACKS)
2002 CLC_ARH_CallbackList const g_ARHCallbacks =
2003 {
2004 #if defined(ENABLE_NETWORK_SEARCH) || defined(FORCE_ALL_CALLBACKS)
2005  // CLC_ARH_CallbackList.CHAI, Callbacks for CHAI Async call return
2006  {
2007  NULL // ARH_CHAI_RemoteDevice_Find
2008  },
2009 #endif
2010 #if defined(ENABLE_REMOTE_DEVICE) || defined(FORCE_ALL_CALLBACKS)
2011  // CLC_ARH_CallbackList.RemoteDevice, Callbacks for Remote Device Async call return
2012  {
2013  NULL, // ARH_RemoteDevice_GetName
2014  NULL, // ARH_RemoteDevice_GetPropertyString
2015  NULL, // ARH_RemoteDevice_GetPropertyNumeric
2016  NULL, // ARH_RemoteDevice_GetInputInfo
2017  NULL, // ARH_RemoteDevice_GetOutputInfo
2018  NULL, // ARH_RemoteDevice_GetDestination
2019  NULL, // ARH_RemoteDevice_GetDestinationCount
2020  NULL, // ARH_RemoteDevice_GetConnectedDevices
2021  NULL, // ARH_RemoteDevice_GetDetailedDestination
2022  NULL, // ARH_RemoteDevice_GetParameterInfoModifier
2023  NULL, // ARH_RemoteDevice_GetParameterInfoSelector
2024  NULL, // ARH_RemoteDevice_GetParameterInfoText
2025  NULL, // ARH_RemoteDevice_GetParameterInfoNoData
2026  NULL, // ARH_RemoteDevice_GetControllerInfo
2027  NULL, // ARH_RemoteDevice_GetModifierDataTypeInfo
2028  NULL, // ARH_RemoteDevice_GetSelectorParameterValueText
2029  NULL, // ARH_RemoteDevice_GetIndexListItem
2030  NULL, // ARH_RemoteDevice_CollectSnapshotData
2031  NULL // ARH_RemoteDevice_RestoreSnapshotData
2032  NULL // ARH_RemoteDevice_SmartConnectStart
2033  }
2034 #endif
2035 };
2036 #endif
2037 
2038 CLC_NH_CallbackList const g_NHCallbacks =
2039 {
2040  // CLC_NH_CallbackList.CHAI, Callback list for CHAI notification
2041  {
2042  NULL, // NH_CHAI_Notification
2043  NULL, // NH_CHAI_DeviceDeclaration
2044  NULL, // NH_CHAI_DeviceDiscarded
2045  NULL, // NH_CHAI_DeviceIdentityChanged
2046  NULL, // NH_CHAI_Warning
2047 #if defined(ENABLE_SIGNAL) || defined(FORCE_ALL_CALLBACKS)
2048  NULL, // NH_CHAI_Signal
2049 #endif
2050 #if defined(ENABLE_GLOBAL_TIMER) || defined(FORCE_ALL_CALLBACKS)
2051  NULL // NH_CHAI_GlobalTimer
2052 #endif
2053  },
2054 
2055 #if !defined(NO_DEVICE_ENABLED) || defined(FORCE_ALL_CALLBACKS)
2056  // CLC_NH_CallbackList.LocalDevice, Callback list for local device notifications
2057  {
2058  NULL, // NH_LocalDevice_Notification
2059 #if defined(ENABLE_SNAPSHOT) || defined(FORCE_ALL_CALLBACKS)
2060  NULL, // NH_LocalDevice_Snapshot_RequestCollectSnapshotData
2061  NULL, // NH_LocalDevice_Snapshot_RequestRestoreSnapshotData
2062 #endif
2063 #if defined(ENABLE_SMARTCONNECT_TARGET) || defined(FORCE_ALL_CALLBACKS)
2064  NULL, // NH_LocalDevice_SCT_Started
2065  NULL, // NH_LocalDevice_SCT_SectionListReply
2066  NULL, // NH_LocalDevice_SCT_ControllerListReply
2067  NULL, // NH_LocalDevice_SCT_Finished
2068 #endif
2069 #if defined(ENABLE_SIGNAL) || defined(FORCE_ALL_CALLBACKS)
2070  NULL, // NH_LocalDevice_Signal
2071 #endif
2072  },
2073 
2074 #if defined(ENABLE_DEVICE_COPPERLAN2MIDI) || defined(FORCE_ALL_CALLBACKS)
2075  // CLC_NH_CallbackList.CP2MIDI, Callback list for CP2MIDI notifications
2076  {
2077  NULL, // NH_CP2MIDI_MIDIMessage
2078  NULL // NH_CP2MIDI_MIDISysEx
2079  },
2080 #endif
2081 
2082 #if defined(ENABLE_DEVICE_VMIDILINKIN) || defined(FORCE_ALL_CALLBACKS)
2083  // CLC_NH_CallbackList.VMIDILinkIn, Callback list for VMIDILinkIn notifications
2084  {
2085  NULL, // NH_VMIDILinkIn_StatusChange
2086 #if defined(ENABLE_MESSAGE_EVENT) || defined(FORCE_ALL_CALLBACKS)
2087  NULL, // NH_VMIDILinkIn_EventMessage
2088 #endif
2089 #if defined(ENABLE_MESSAGE_MODIFIER) || defined(FORCE_ALL_CALLBACKS)
2090  NULL, // NH_VMIDILinkIn_ModifierMessage
2091 #endif
2092 #if defined(ENABLE_MESSAGE_SELECTOR) || defined(FORCE_ALL_CALLBACKS)
2093  NULL, // NH_VMIDILinkIn_SelectorMessage
2094 #endif
2095 #if defined(ENABLE_MESSAGE_MIDISYSEX) || defined(FORCE_ALL_CALLBACKS)
2096  NULL, // NH_VMIDILinkIn_MIDISysExMessage
2097 #endif
2098 #if defined(ENABLE_CLOCK) || defined(FORCE_ALL_CALLBACKS)
2099  NULL, // NH_VMIDILinkIn_ClockTick
2100  NULL, // NH_VMIDILinkIn_ClockCommand
2101 #endif
2102  },
2103 #endif
2104 
2105 #if defined(ENABLE_DEVICE_VMIDILINKOUT) || defined(FORCE_ALL_CALLBACKS)
2106  // CLC_NH_CallbackList.VMIDILinkOut, Callback list for VMIDILinkOut notifications
2107  {
2108  NULL, // NH_VMIDILinkOut_StatusChange
2109  NULL // NH_VMIDILinkOut_DataConsumed
2110  },
2111 #endif
2112 
2113 #if defined(ENABLE_DEVICE_SHAREDDISPLAY) || defined(FORCE_ALL_CALLBACKS)
2114  // CLC_NH_CallbackList.SharedDisplay, Callback list for Shared display local device notification handlers
2115  {
2116  NULL, // NH_SharedDisplay_Request
2117  NULL, // NH_SharedDisplay_SessionClosed
2118  NULL, // NH_SharedDisplay_DisplayClear
2119  NULL, // NH_SharedDisplay_SetText
2120  NULL // NH_SharedDisplay_SetCursor
2121  },
2122 #endif
2123 
2124 #if defined(ENABLE_DEVICE_SHAREDDISPLAY_CLIENT) || defined(FORCE_ALL_CALLBACKS)
2125  // CLC_NH_CallbackList.SharedDisplayClient, Callback list for Shared display client local device notification handlers
2126  {
2127  NULL, // NH_SharedDisplayClient_RequestAccepted
2128  NULL, // NH_SharedDisplayClient_SessionClosed
2129  NULL // NH_SharedDisplayClient_OnKey
2130  },
2131 #endif
2132 
2133 #if defined(ENABLE_INPUT) || defined(FORCE_ALL_CALLBACKS)
2134  // CLC_NH_CallbackList.Input, Callback list for Input notifications
2135  {
2136  NULL, // NH_Input_SourceChange
2137 #if defined(ENABLE_MESSAGE_GENERIC) || defined(FORCE_ALL_CALLBACKS)
2138  NULL, // NH_Input_Message
2139 #endif
2140 #if defined(ENABLE_MESSAGE_EVENT) || defined(FORCE_ALL_CALLBACKS)
2141  NULL, // NH_Input_EventMessage
2142 #endif
2143 #if defined(ENABLE_MESSAGE_MODIFIER) || defined(FORCE_ALL_CALLBACKS)
2144  NULL, // NH_Input_ModifierMessage
2145 #endif
2146 #if defined(ENABLE_MESSAGE_SELECTOR) || defined(FORCE_ALL_CALLBACKS)
2147  NULL, // NH_Input_SelectorMessage
2148 #endif
2149 #if defined(ENABLE_MESSAGE_TEXT) || defined(FORCE_ALL_CALLBACKS)
2150  NULL, // NH_Input_TextMessage
2151 #endif
2152 #if defined(ENABLE_MESSAGE_MIDISYSEX) || defined(FORCE_ALL_CALLBACKS)
2153  NULL, // NH_Input_MIDISysExMessage
2154 #endif
2155 #if defined(ENABLE_CLOCK) || defined(FORCE_ALL_CALLBACKS)
2156  NULL, // NH_Input_ClockDefinition
2157  NULL, // NH_Input_ClockTick
2158  NULL, // NH_Input_ClockCommand
2159  NULL, // NH_Input_ClockSetPosition
2160 #endif
2161 #if defined(ENABLE_PARAMETER) || defined(FORCE_ALL_CALLBACKS)
2162  NULL, // NH_InputParameter_RequestRefreshCurrentValue
2163  NULL, // NH_InputParameter_OnModifierUpdate
2164  NULL, // NH_InputParameter_OnSelectorUpdate
2165  NULL // NH_InputParameter_OnTextUpdate
2166 #endif
2167  },
2168 #endif
2169 
2170 #if defined(ENABLE_OUTPUT) || defined(FORCE_ALL_CALLBACKS)
2171  // CLC_NH_CallbackList.Output, Callback list for Output notification handlers
2172  {
2173  NULL, // NH_Output_FlowControl
2174  NULL, // NH_Output_DataConsumed
2175  NULL, // NH_Output_DestinationChange
2176 #if defined(ENABLE_PARAMETER_FEEDBACK) || defined(FORCE_ALL_CALLBACKS)
2177  NULL, // NH_Output_RefreshParameterDefinition
2178  NULL, // NH_Output_UpdateIndexListContent
2179  NULL, // NH_Output_UpdateSelectorItemListContent
2180  NULL, // NH_Output_RefreshCurrentModifierParameterValue
2181  NULL, // NH_Output_RefreshCurrentSelectorParameterValue
2182  NULL, // NH_Output_RefreshCurrentTextParameterValue
2183 #endif
2184 #if defined(ENABLE_CLOCK) || defined(FORCE_ALL_CALLBACKS)
2185  NULL, // NH_Output_ClockGeneratorCommand
2186 #endif
2187  },
2188 #endif
2189 
2190 #if defined(ENABLE_CONTROLLER) || defined(FORCE_ALL_CALLBACKS)
2191  {
2192  NULL, // NH_Controller_ConnectionStatus
2193  NULL, // NH_Controller_RefreshModifierParameterValue
2194  NULL, // NH_Controller_RefreshSelectorParameterValue
2195  NULL, // NH_Controller_RefreshTextParameterValue
2196  NULL, // NH_Controller_Assign
2197  NULL, // NH_Controller_OnParameterPathReply
2198  NULL // NH_Controller_OnLearningModeChange
2199  },
2200 #endif
2201 
2202 #if defined(ENABLE_PIPE) || defined(FORCE_ALL_CALLBACKS)
2203  // CLC_NH_CallbackList.Pipe, Callback list for Pipe notification handlers
2204  {
2205  NULL, // NH_Pipe_PeerChange
2206  NULL, // NH_Pipe_DataConsumed
2207 #if defined(ENABLE_MESSAGE_GENERIC) || defined(FORCE_ALL_CALLBACKS)
2208  NULL, // NH_Pipe_Message
2209 #endif
2210 #if defined(ENABLE_MESSAGE_EVENT) || defined(FORCE_ALL_CALLBACKS)
2211  NULL, // NH_Pipe_EventMessage
2212 #endif
2213 #if defined(ENABLE_MESSAGE_MODIFIER) || defined(FORCE_ALL_CALLBACKS)
2214  NULL, // NH_Pipe_ModifierMessage
2215 #endif
2216 #if defined(ENABLE_MESSAGE_SELECTOR) || defined(FORCE_ALL_CALLBACKS)
2217  NULL, // NH_Pipe_SelectorMessage
2218 #endif
2219 #if defined(ENABLE_MESSAGE_TEXT) || defined(FORCE_ALL_CALLBACKS)
2220  NULL, // NH_Pipe_TextMessage
2221 #endif
2222  },
2223 #endif
2224 #endif // !defined(NO_DEVICE_ENABLED)
2225 
2226 #if defined(ENABLE_REMOTE_DEVICE) || defined(FORCE_ALL_CALLBACKS)
2227  // CLC_NH_CallbackList.RemoteDevice, Callback list for Remote device notification handlers
2228  {
2229  NULL // NH_RemoteDevice_Ready
2230  },
2231 #endif
2232  // CLC_NH_CallbackList.Server, Callback list for server notification handlers
2233  {
2234  NULL // NH_Server_AskToEnterBootLoader;
2235  }
2236 };
2237 
2238 end of sample */
2239 
2240 #ifdef __cplusplus
2241 }
2242 #endif
2243 
2244 #endif //_CLC_CALLBACKS_H_
void(* NH_PIPE_EVENTMESSAGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPEVENTMSG const *const pEvent, CPENDPOINT const *const pPeer)
Called on event message reception.
Definition: CLC_Callbacks.h:1630
NH_SHAREDDISPLAYCLIENT_SESSIONCLOSED pSessionClosed
Definition: CLC_Callbacks.h:1857
void(* APP_CONNECTIONSTATECHANGE)(CPBOOLEAN const fConnected, CPUINT16 const wReason, void *const pParam)
CHAILink to Application Connection Status Change callback.
Definition: CLC_Callbacks.h:56
ModifierInformationProfiles
Modifier information profiles.
Definition: CLC_Enums.h:1473
ARH_REMOTEDEVICE_GETINPUTINFO pGetInputInfo
Definition: CLC_Callbacks.h:1739
NH_INPUTPARAM_ONTEXTUPDATE pParamOnTextUpdate
Definition: CLC_Callbacks.h:1895
ARH_REMOTEDEVICE_GETSELECTORPARAMVALUETEXT pGetSelectorParameterValueText
Definition: CLC_Callbacks.h:1751
NH_OUTPUT_CLOCK_GENERATORCOMMAND pClockGeneratorCommand
Definition: CLC_Callbacks.h:1916
void(* NH_REMOTEDEVICE_READY)(CPHOOKEDOBJECT const hRemoteDevice, CPBOOLEAN const fValid, CPCHAR8 const *const utf8Name, CPCHAR8 const *const utf8MachineName)
A remote device object creation is done.
Definition: CLC_Callbacks.h:1688
void(* NH_INPUT_EVENTMESSAGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPEVENTMSG const *const pEvent, CPENDPOINT const *const pSource, CPTIMESTAMPINFO const *const pTimeStamp)
Called on event message reception.
Definition: CLC_Callbacks.h:1093
void(* NH_OUTPUT_DESTINATIONCHANGE)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPENDPOINT const *const pDestination, ODCOperations const operation)
Called on destination change.
Definition: CLC_Callbacks.h:1348
NH_VMIDILINKIN_CLOCKTICK pClockTick
Definition: CLC_Callbacks.h:1826
WarningCodes
Warning codes.
Definition: CLC_Enums.h:2359
Additional informations data structure.
Definition: CLC_Types.h:213
ARH_REMOTEDEVICE_GETPARAMINFONODATA pGetParameterInfoNoData
Definition: CLC_Callbacks.h:1748
Callback list for all asynchronous call returns.
Definition: CLC_Callbacks.h:1723
GlobalTimerNotificationFlags
Flags for CHAI's global timer notification handler. Used by the CHAI's global timer notification hand...
Definition: CLC_Enums.h:1111
void(* NH_INPUTPARAM_REQUESTREFRESHCURRENTVALUE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPHOBJECT const hParameter, ObjectTypes const parameterType, CPUINT32 const dwParameterUserData, CPUINT16 const wIndex)
Called by the CHAI to request a current value refresh related to a specific parameter. When this method is called, the application should reply using Parameter_RefreshCurrentModifierParameterValue | Parameter_RefreshCurrentSelectorParameterValue | Parameter_RefreshCurrentTextParameterValue.
Definition: CLC_Callbacks.h:1246
void(* NH_INPUT_CLOCKDEFINITION)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *const pSource, CPUINT16 const wBPM, CPUINT8 const bCPQNMultiplier)
Called if the input receives a clock definition.
Definition: CLC_Callbacks.h:1179
void(* NH_CONTROLLER_REFRESHCURRENTMODIFIERPARAMVALUE)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPVALUE const *const pValue, CPCHAR8 const *const utf8ValueText, RefreshValueAttributes const attributes)
This to inform the application that a modifier parameter changed of value. It is useful to reflect cu...
Definition: CLC_Callbacks.h:1500
NH_INPUTPARAM_ONSELECTORUPDATE pParamOnSelectorUpdate
Definition: CLC_Callbacks.h:1894
ARH_REMOTEDEVICE_GETPARAMINFOSELECTOR pGetParameterInfoSelector
Definition: CLC_Callbacks.h:1746
ARH_REMOTEDEVICE_GETPARAMINFOMODIFIER pGetParameterInfoModifier
Definition: CLC_Callbacks.h:1745
void(* NH_CHAI_GLOBALTIMER)(SystemTime const globalTime, GlobalTimerNotificationFlags const flags)
Used by the CHAI to notify global timer event.
Definition: CLC_Callbacks.h:528
void(* NH_INPUT_SELECTORMESSAGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPSELECTORMSG const *const pSelector, CPENDPOINT const *const pSource, CPTIMESTAMPINFO const *const pTimeStamp)
Called on selector message reception.
Definition: CLC_Callbacks.h:1125
CPUINT32 CPHOOKEDOBJECT
Handle on Hooked Object.
Definition: CLCm_Types.h:58
void(* NH_LOCALDEVICE_SCT_STARTED)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wSessionID, CPUINT16 const wArraySize, CPBOOLEAN const fTruncated)
Initiate a SmartConnect session. The source device IDs array contains a list of controller devices to...
Definition: CLC_Callbacks.h:626
void(* ARH_REMOTEDEVICE_RESTORESNAPSHOTDATA)(Errors const returnCode, CPUINT32 const dwNextOffset, CPUINT32 const dwSnapshotContextData, CPUINT32 const dwClientContextData)
End of asynchronous for RemoteDevice_RestoreSnapshotData_Async function call.
Definition: CLC_Callbacks.h:421
void(* NH_INPUT_MIDISYSEXMESSAGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPBOOLEAN const fIsLastBlock, CPUINT8 const bDataSize, CPUINT8 const *const pData, CPENDPOINT const *const pSource, CPTIMESTAMPINFO const *const pTimeStamp)
Called on Midi SysEx message reception.
Definition: CLC_Callbacks.h:1158
ARH_REMOTEDEVICE_GETMODIFIERDATATYPEINFO pGetModifierDataTypeInfo
Definition: CLC_Callbacks.h:1750
void(* NH_CHAI_NOTIFICATION)(CHAINotificationTypes const notification, CPENDPOINT const *const pOptionalEndpoint)
Used by the CHAI to notify the application about global network changes.
Definition: CLC_Callbacks.h:451
NH_OUTPUT_FLOWCONTROL pFlowControl
Definition: CLC_Callbacks.h:1904
Container structure for Section ID Each Input is associated to a SectionID giving information about i...
Definition: CLC_Types.h:67
ARH_REMOTEDEVICE_GETINDEXLISTITEM pGetIndexListItem
Definition: CLC_Callbacks.h:1752
void(* ARH_REMOTEDEVICE_GETCONTROLLERINFO)(AsyncResult const result, CPUINT16 const wControllerID, CPCHAR8 const *const utf8Name, ControllerTypes const controllerTypes, MessageTypes const preferredMsgType, CPUINT16 const wPreferredMsgNum, CPUINT16 const wGroup, CPSECTIONID const *const pSectionID, CPCHAR8 const *const utf8SectionName, CPCONTROLLERASSIGNMENT const *const pCurrentAssignment, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetControllerInfo_Async function call.
Definition: CLC_Callbacks.h:323
SnapshotBlockPriorities
Snapshot block priorities.
Definition: CLC_Enums.h:2120
void * pSystemDoProcessParam
pParam value during pfnSystemDoProcess notifications
Definition: CLC_Callbacks.h:1717
void(* ARH_REMOTEDEVICE_GETSELECTORPARAMVALUETEXT)(AsyncResult const result, CPHOOKEDOBJECT const hSelectorItemListID, CPUINT16 const wItemIndex, CPUINT16 const wValue, CPCHAR8 const *const utf8Text, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetSelectorParameterValueText_Async function call...
Definition: CLC_Callbacks.h:366
NH_OUTPUT_REFRESHCURRENTMODIFIERPARAMVALUE pRefreshCurrentModifierParameterValue
Definition: CLC_Callbacks.h:1911
void(* NH_CHAI_DEVICEDECLARATION)(DeviceDeclarationNotificationTypes const declarationType, CPREMOTEDEVICEINFO const *const pRemoteDeviceInfo, CPCHAR8 const *const utf8DeviceName, CPHOOKEDOBJECT const hRemoteDevice)
Called on device declaration. Can occur if a new root device is connected to the network, if a device needs to reflect changes (capabilities, name...)
Definition: CLC_Callbacks.h:465
DataTypes
CopperLan Data types Data Types are used to identify numeric value format.
Definition: CLC_Enums.h:389
void(* NH_INPUTPARAM_ONSELECTORUPDATE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPHOBJECT const hParameter, CPUINT32 const dwParameterUserData, CPHOBJECT const hSelectorItemList, CPUINT16 const wValue, CPSELECTORMSG const *const pSelector)
A Selector message related to this Parameter has been received. The updated item argument points corr...
Definition: CLC_Callbacks.h:1286
NH_INPUTPARAM_REQUESTREFRESHCURRENTVALUE pParamRequestRefreshCurrentValue
Definition: CLC_Callbacks.h:1892
void(* NH_PIPE_MESSAGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPHOBJECT const hMessage, ObjectTypes const messageType, CPENDPOINT const *const pPeer)
Called on message reception other than Event, Modifier, Text, Selector and MidiSysEx. Actually only Data Transfer Message are handled this way.
Definition: CLC_Callbacks.h:1616
NH_LOCALDEVICE_SNAPSHOT_REQUESTRESTORESNAPSHOTDATA pRequestRestoreSnapshotData
Definition: CLC_Callbacks.h:1786
CLC_ARH_CallbackList const * pARHCallbackList
Pointer to a :CLC_ARH_CallbackList structure provided by application and containing the list of all a...
Definition: CLC_Callbacks.h:1992
NH_CHAI_WARNING pWarning
Definition: CLC_Callbacks.h:1771
void(* NH_LOCALDEVICE_SCT_SECTIONLISTREPLY)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wSessionID, CPDEVICEID const *const pSourceDevID, CPUINT16 const wArraySize, CPBOOLEAN const fTruncated)
Reply to a section list request.
Definition: CLC_Callbacks.h:645
This structure stores data from a text message.
Definition: CLC_Fct_TextMessage.h:55
CLC_ErrorCode
Error code Enumeration. Error codes from 0x01 to 0xFF are related to a CopperLan functions return cod...
Definition: CLCm_Defines.h:469
NH_CHAI_DEVICEDECLARATION pDeviceDeclaration
Definition: CLC_Callbacks.h:1768
ARH_REMOTEDEVICE_GETDETAILEDDESTINATION pGetDetailedDestination
Definition: CLC_Callbacks.h:1744
NH_INPUT_CLOCKSETPOSITION pClockSetPosition
Definition: CLC_Callbacks.h:1889
NH_VMIDILINKOUT_DATACONSUMED pDataConsumed
Definition: CLC_Callbacks.h:1837
This structure contains information for a specific remote device.
Definition: CLC_Types.h:179
ClockCommands
Clock commands. See NH_INPUT_CLOCKCOMMAND.
Definition: CLC_Enums.h:135
void(* NH_INPUT_CLOCKSETPOSITION)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *pSource, CPUINT32 const dwPosition, CPBOOLEAN const fImmediate)
Called if the input receives a clock position.
Definition: CLC_Callbacks.h:1224
ARH_REMOTEDEVICE_GETCONTROLLERINFO pGetControllerInfo
Definition: CLC_Callbacks.h:1749
NH_CHAI_DEVICEIDENTITYCHANGED pDeviceIdentityChanged
Definition: CLC_Callbacks.h:1770
void(* NH_LOCALDEVICE_NOTIFICATION)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, LocalDeviceNotificationTypes const notification)
This notification informs the application about some update related to a local device.
Definition: CLC_Callbacks.h:552
TextInformationProfiles
Text information profiles.
Definition: CLC_Enums.h:2265
NH_OUTPUT_DATACONSUMED pDataConsumed
Definition: CLC_Callbacks.h:1905
void(* ARH_REMOTEDEVICE_GETINPUTINFO)(AsyncResult const result, CPUINT16 const wInputID, CPCHAR8 const *const utf8Name, InOutCapabilities const inCaps, CPSECTIONID const *const pSectionID, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetInputInformation_Async function call. ...
Definition: CLC_Callbacks.h:147
This structure stores data from an event message.
Definition: CLC_Fct_EventMessage.h:57
void(* NH_CHAI_SIGNAL)(CPUINT16 const wSignalNumber, CPUINT16 const wOptionalData0, CPUINT16 const wOptionalData1, CPUINT16 const wOptionalData2, CPUINT16 const wOptionalData3, CPCHAR8 const *const utf8OptionalData, CPENDPOINT const *const pOptionalEndPoint, CPDEVICEID const *const pSourceDevID)
Called if the CHAI received a signal.
Definition: CLC_Callbacks.h:513
NH_SHAREDDISPLAYCLIENT_REQUESTACCEPTED pRequestAccepted
Definition: CLC_Callbacks.h:1856
char CPCHAR8
Character Type (8 bit signed)
Definition: PlatformTypes.h:66
NH_CHAI_DEVICEDISCARDED pDeviceDiscarded
Definition: CLC_Callbacks.h:1769
NH_SHAREDDISPLAY_DISPLAYCLEAR pDisplayClear
Definition: CLC_Callbacks.h:1847
SmartConnectAsyncResult
SmartConnect Async operation result.
Definition: CLC_Enums.h:75
WarningDomains
Warning domains.
Definition: CLC_Enums.h:2331
NH_VMIDILINKIN_CLOCKCOMMAND pClockCommand
Definition: CLC_Callbacks.h:1827
ARH_REMOTEDEVICE_GETCONNECTEDDEVICES pGetConnectedDevices
Definition: CLC_Callbacks.h:1743
NH_VMIDILINKOUT_STATUSCHANGE pStatusChange
Definition: CLC_Callbacks.h:1836
void(* NH_INPUT_CLOCKTICK)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *pSource, CPUINT16 const wBPM, CPUINT16 const wResolution, CPUINT16 const wTick)
Called if the input receives a clock tick.
Definition: CLC_Callbacks.h:1195
CPUINT64 SystemTime
System Time definition as unsigned 64 bit integer.
Definition: CLCm_Types.h:62
void(* NH_SHAREDDISPLAYCLIENT_SESSIONCLOSED)(CPHOBJECT const hSharedDisplayClient, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData)
Called if shared display session closed by the server.
Definition: CLC_Callbacks.h:1016
void(* ARH_REMOTEDEVICE_GETCONNECTEDDEVICES)(AsyncResult const result, CPDEVICEID const *const pSourceDevID, CPDEVICEID const *const pConnectedDevID, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetConnectedDevices_Async function call. ...
Definition: CLC_Callbacks.h:204
void(* ARH_REMOTEDEVICE_GETPROPERTYSTRING)(AsyncResult const result, DeviceProperties const propertyID, CPCHAR8 const *const utf8Value, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetProperty_Async function call (if the property is a string...
Definition: CLC_Callbacks.h:121
unsigned char CPUINT8
Byte Integer (8 bit unsigned)
Definition: PlatformTypes.h:42
DeviceDeclarationNotificationTypes
Notification types related to device declaration. Used by the CHAI notification handler to inform the...
Definition: CLC_Enums.h:740
This structure stores data from a modifier message.
Definition: CLC_Fct_ModifierMessage.h:61
ARH_REMOTEDEVICE_GETPROPERTYNUMERIC pGetPropertyNumeric
Definition: CLC_Callbacks.h:1738
SelectorInformationProfiles
Selector information profiles This combination of values can be handled by CPNS::CombinedSelectorInfo...
Definition: CLC_Enums.h:1962
void(* NH_SHAREDDISPLAYCLIENT_ONKEY)(CPHOBJECT const hSharedDisplayClient, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, SharedDisplayKeyTypes const type, CPCHAR8 const *const utf8FromKeyboard)
Forward a key/keyboard entry to the application.
Definition: CLC_Callbacks.h:1029
ControllerTypes
Controller types It is composed of the supported message types and the physical controller descriptio...
Definition: CLC_Enums.h:210
ControllerAssignReasons
Controller assignment reasons.
Definition: CLC_Enums.h:159
void(* NH_OUTPUT_REFRESHCURRENTSELECTORPARAMVALUE)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPENDPOINT const *const pSource, CPPARAMETERID const *const pParamID, CPUINT16 const wValue, CPCHAR8 const *const utf8ValueText, RefreshValueAttributes const attributes, CPUINT16 const wProportionalValue)
Called to inform that a selector parameter changed its value.
Definition: CLC_Callbacks.h:1430
ARH_REMOTEDEVICE_RESTORESNAPSHOTDATA pRestoreSnapshotData
Definition: CLC_Callbacks.h:1754
void(* NH_INPUT_CLOCKCOMMAND)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *pSource, ClockCommands const command)
Called if the input receives a clock command.
Definition: CLC_Callbacks.h:1210
APP_COPPERLANDOPROCESS pfnCPDoProcess
Entry point for the CopperLan application pseudo task.
Definition: CLC_Callbacks.h:1712
ObjectTypes
Object types.
Definition: CLC_Enums.h:1521
NH_LOCALDEVICE_SIGNAL pSignal
Definition: CLC_Callbacks.h:1795
NH_LOCALDEVICE_SCT_FINISHED pSCTFinished
Definition: CLC_Callbacks.h:1792
InOutCapabilities
Input & Output capabilities.
Definition: CLC_Enums.h:1145
void(* APP_SYSTEMDOPROCESS)(void *const pParam)
Entry point for the System pseudo task. See pfnSystemDoProcess in CLC_Callbacks structure.
Definition: CLC_Callbacks.h:64
void(* NH_PIPE_PEERCHANGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPENDPOINT const *const pPeer, CPBOOLEAN const fNewPeer)
Peer change notification.
Definition: CLC_Callbacks.h:1593
void(* NH_PIPE_MODIFIERMESSAGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPMODIFIERMSG const *const pModifier, CPENDPOINT const *const pPeer)
Called on modifier message reception.
Definition: CLC_Callbacks.h:1643
void(* NH_SHAREDDISPLAY_DISPLAYCLEAR)(CPHOBJECT const hSharedDisplay, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData)
Called if the client is requesting to clear display.
Definition: CLC_Callbacks.h:946
Errors
CHAI Error codes Used with CLC_ErrorCode for value from 0 to 0xFF.
Definition: CLC_Enums.h:923
ARH_REMOTEDEVICE_GETPARAMINFOTEXT pGetParameterInfoText
Definition: CLC_Callbacks.h:1747
void(* ARH_REMOTEDEVICE_GETNAME)(AsyncResult const result, DeviceNameFormats const format, CPCHAR8 const *const utf8Name, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetName_Async function call.
Definition: CLC_Callbacks.h:107
unsigned short CPUINT16
Word Integer (16 bit unsigned)
Definition: PlatformTypes.h:45
NH_CONTROLLER_ONLEARNINGMODECHANGE pOnLearningModeChange
Definition: CLC_Callbacks.h:1931
void(* ARH_REMOTEDEVICE_GETINDEXLISTITEM)(AsyncResult const result, CPHOOKEDOBJECT const hIndexListID, CPUINT16 const wMsgIndex, CPCHAR8 const *const utf8Label, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetIndexListItem_Async function call.
Definition: CLC_Callbacks.h:385
NH_PIPE_PEERCHANGE pPeerChange
Definition: CLC_Callbacks.h:1939
CLC_NH_CallbackList const * pNHCallbackList
Pointer to a :CLC_NH_CallbackList structure provided by application and containing the list of all no...
Definition: CLC_Callbacks.h:1994
ISCCauses
Input source change causes Used by the IInput notification handler to inform the application.
Definition: CLC_Enums.h:1135
void(* NH_CP2MIDI_MIDIMESSAGE)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT8 const bSize, CPBYTE const *const pData, CPENDPOINT const *const pSource)
Incoming MIDI message notification for CP2Midi, VMIDILinkIn, HybridMidi and VMIDILinkHybrid devices...
Definition: CLC_Callbacks.h:734
NH_OUTPUT_UPDATEINDEXLISTCONTENT pUpdateIndexListContent
Definition: CLC_Callbacks.h:1909
void(* NH_LOCALDEVICE_SNAPSHOT_REQUESTRESTORESNAPSHOTDATA)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wRequestID, SnapshotTypes const snapshotType, CPUINT32 const dwOffset, CPUINT32 const dwSnapshotContextData, CPUINT16 const wBlockSize, CPBOOLEAN const fIsLastBlock, CPBYTE const *const pBlockData)
Called by the CHAI to restore snapshot data related to the device.
Definition: CLC_Callbacks.h:598
void(* NH_CONTROLLER_CONNECTIONSTATUS)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPBOOLEAN const fConnected)
This is called on destination change. This can be used to know when a controller is connected to the ...
Definition: CLC_Callbacks.h:1486
void(* NH_INPUTPARAM_ONTEXTUPDATE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPHOBJECT const hParameter, CPUINT32 const dwParameterUserData, CPTEXTMSG const *const pText)
A Text message related to this Parameter has been received.
Definition: CLC_Callbacks.h:1302
void(* ARH_REMOTEDEVICE_GETPARAMINFONODATA)(CPSECTIONID const *const pSectionID, CPUINT32 const dwClientContextData)
No more data available for the RemoteDevice_GetParameterInfo_Async function call. ...
Definition: CLC_Callbacks.h:305
void(* NH_CHAI_WARNING)(CPENDPOINT const *pOptionalSource, WarningCodes const code, WarningDomains const eDomain, CPCHAR8 const *const utf8Title, CPCHAR8 const *const utf8Content)
The CHAI received a warning message and forward it to the application.
Definition: CLC_Callbacks.h:496
NH_INPUTPARAM_ONMODIFIERUPDATE pParamOnModifierUpdate
Definition: CLC_Callbacks.h:1893
AsyncResult
Async operation result.
Definition: CLC_Enums.h:49
void(* ARH_REMOTEDEVICE_GETPARAMINFOMODIFIER)(CPSECTIONID const *const pSectionID, CPPARAMETERID const *const pParamID, CPCHAR8 const *const utf8Name, CPHOOKEDOBJECT const hIndexListID, CPUINT16 const wMidPointValue, CPCHAR8 const *const utf8LabelMin, CPCHAR8 const *const utf8LabelMidPoint, CPCHAR8 const *const utf8LabelMax, DataTypes const preferredDataType, CPUINT16 const wGroup, ModifierInformationProfiles const informationProfiles, ControllerTypes preferredControllerType, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetParameterInfo_Async function call when the parameter is a...
Definition: CLC_Callbacks.h:245
void * pErrorCBParam
pParam value during pfnCHAILinkErrorCB notifications
Definition: CLC_Callbacks.h:1714
CHAINotificationTypes
Notifications types for CHAI Used by the CHAI notification handler to inform the application.
Definition: CLC_Enums.h:303
NH_OUTPUT_DESTINATIONCHANGE pDestinationChange
Definition: CLC_Callbacks.h:1906
NH_PIPE_DATACONSUMED pDataConsumed
Definition: CLC_Callbacks.h:1940
NH_REMOTEDEVICE_READY pReady
Definition: CLC_Callbacks.h:1964
ARH_REMOTEDEVICE_GETDESTINATIONCOUNT pGetDestinationCount
Definition: CLC_Callbacks.h:1742
NH_CONTROLLER_REFRESHCURRENTTEXTPARAMVALUE pRefreshTextParameterValue
Definition: CLC_Callbacks.h:1928
void(* ARH_REMOTEDEVICE_GETPARAMINFOTEXT)(CPSECTIONID const *const pSectionID, CPPARAMETERID const *const pParamID, CPCHAR8 const *const utf8Name, CPHOOKEDOBJECT const hIndexListID, CPUINT16 const wGroup, TextInformationProfiles const informationProfiles, ControllerTypes preferredControllerType, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetParameterInfo_Async function call when the parameter is a...
Definition: CLC_Callbacks.h:292
ARH_REMOTEDEVICE_GETPROPERTYSTRING pGetPropertyString
Definition: CLC_Callbacks.h:1737
unsigned long CPUINT32
Double Word Integer (32 bit unsigned)
Definition: PlatformTypes.h:48
void(* NH_OUTPUT_UPDATEINDEXLISTCONTENT)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPHOOKEDOBJECT const hIndexListID)
This to inform the application that the specified index list content changed.
Definition: CLC_Callbacks.h:1374
NH_CONTROLLER_ONPARAMETERPATHREPLY pOnParameterPathReply
Definition: CLC_Callbacks.h:1930
NH_OUTPUT_REFRESHCURRENTTEXTPARAMVALUE pRefreshCurrentTextParameterValue
Definition: CLC_Callbacks.h:1913
DeviceProperties
Device properties.
Definition: CLC_Enums.h:827
void(* NH_INPUT_MESSAGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPHOOKEDOBJECT const hMessage, ObjectTypes const messageType, CPENDPOINT const *const pSource, CPTIMESTAMPINFO const *const pTimeStamp)
Called on message reception other than Event, Modifier, Text, Selector and MidiSysEx. Actually only Data Transfer Message are handled this way.
Definition: CLC_Callbacks.h:1077
void(* ARH_REMOTEDEVICE_GETDESTINATION)(AsyncResult const result, CPUINT16 const wOutputID, CPUINT16 const wDestinationIndex, CPCHAR8 const *const utf8Name, CPENDPOINT const *pDestination, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetDestination_Async function call.
Definition: CLC_Callbacks.h:180
NH_INPUT_CLOCKTICK pClockTick
Definition: CLC_Callbacks.h:1887
void(* NH_CHAI_DEVICEIDENTITYCHANGED)(CPDEVICEID const *const pOldDeviceID, CPDEVICEID const *const pNewDeviceID)
Inform the application that a device identity changed.
Definition: CLC_Callbacks.h:485
NH_SHAREDDISPLAY_SETCURSOR pSetCursor
Definition: CLC_Callbacks.h:1849
void(* NH_SHAREDDISPLAY_SETTEXT)(CPHOBJECT const hSharedDisplay, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wX, CPUINT16 const wY, CPCHAR8 const *const utf8Text)
Called if the client is requesting to display text.
Definition: CLC_Callbacks.h:961
APP_SYSTEMDOPROCESS pfnSystemDoProcess
Entry point for the System pseudo task.
Definition: CLC_Callbacks.h:1713
void(* NH_LOCALDEVICE_SCT_FINISHED)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wSessionID)
Notify end of SmartConnect session. Time to release application data related to the specified session...
Definition: CLC_Callbacks.h:682
Container structure for Parameter ID. Knowing a ParameterID and its owning Device gives enough inform...
Definition: CLC_Types.h:76
ARH_REMOTEDEVICE_SMARTCONNECTSTART pSmartConnectStart
Definition: CLC_Callbacks.h:1755
void(* NH_CHAI_DEVICEDISCARDED)(CPDEVICEID const *const pDevID, DeviceDiscardedReasons const reason)
Called on device unplug, or if a device becomes unreachable.
Definition: CLC_Callbacks.h:476
void(* NH_PIPE_SELECTORMESSAGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPSELECTORMSG const *const pSelector, CPENDPOINT const *const pPeer)
Called on selector message reception.
Definition: CLC_Callbacks.h:1656
NH_SERVER_ASKTOENTERBL pAskToEnterlBootLoader
Definition: CLC_Callbacks.h:1971
void(* ARH_CHAI_REMOTEDEVICE_FIND)(AsyncResult const result, CPHOOKEDOBJECT const hRemoteDevice, CPREMOTEDEVICEINFO const *const pRemoteDeviceInfo, CPCHAR8 const *const utf8Name, CPCHAR8 const *const utf8MachineName, CPHOOKEDOBJECT const hDeviceEnumContext, CPUINT32 const dwClientContextData)
Used by the CHAI during device enumeration in response to CHAI_RemoteDevice_FindFirst_Async or CHAI_R...
Definition: CLC_Callbacks.h:87
void(* NH_PIPE_TEXTMESSAGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPTEXTMSG const *const pText, CPENDPOINT const *const pPeer)
Called on text message reception.
Definition: CLC_Callbacks.h:1669
NH_CHAI_SIGNAL pSignal
Definition: CLC_Callbacks.h:1773
void(* NH_SHAREDDISPLAY_REQUEST)(CPHOBJECT const hSharedDisplay, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPDEVICEID const *pSourceDevID)
Called on shared display request.
Definition: CLC_Callbacks.h:921
NH_LOCALDEVICE_SNAPSHOT_REQUESTCOLLECTSNAPSHOTDATA pRequestCollectSnapshotData
Definition: CLC_Callbacks.h:1785
void(* NH_LOCALDEVICE_SCT_CONTROLLERLISTREPLY)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wSessionID, CPDEVICEID const *const pSourceDevID, CPUINT16 const wArraySize, CPBOOLEAN const fTruncated)
Reply to a controller list request.
Definition: CLC_Callbacks.h:665
ARH_REMOTEDEVICE_GETDESTINATION pGetDestination
Definition: CLC_Callbacks.h:1741
void(* NH_CONTROLLER_ONPARAMETERPATHREPLY)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPCHAR8 const *const utf8ParameterPath)
Notify about the currently assigned parameter path. This is called in response of CPNS::IController::...
Definition: CLC_Callbacks.h:1558
Container structure for Endpoint.
Definition: CLC_Types.h:48
void(* ARH_REMOTEDEVICE_GETMODIFIERDATATYPEINFO)(AsyncResult const result, CPPARAMETERID const *const pParamID, CPVALUE const *const pMinValue, CPVALUE const *const pMidValue, CPVALUE const *const pMaxValue, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetModifierDataTypeInfo_Async function call. Modifier parameter value range for a requested data type info.
Definition: CLC_Callbacks.h:346
NH_INPUT_SOURCECHANGE pSourceChange
Definition: CLC_Callbacks.h:1866
void(* ARH_REMOTEDEVICE_GETOUTPUTINFO)(AsyncResult const result, CPUINT16 const wOutputID, CPCHAR8 const *const utf8Name, InOutCapabilities const outCaps, CPSECTIONID const *const pSectionID, CPCHAR8 const *const utf8SectionName, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetOutputInformation_Async function call.
Definition: CLC_Callbacks.h:164
void * pCPDoProcessParam
pParam value during pfnCPDoProcess notifications
Definition: CLC_Callbacks.h:1716
void(* ARH_REMOTEDEVICE_GETPROPERTYNUMERIC)(AsyncResult const result, DeviceProperties const propertyID, CPUINT64 const qwValue, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetProperty_Async function call (if the property is a numeri...
Definition: CLC_Callbacks.h:133
NH_OUTPUT_REFRESHPARAMETERDEFINITION pRefreshParameterDefinition
Definition: CLC_Callbacks.h:1908
NH_INPUT_CLOCKCOMMAND pClockCommand
Definition: CLC_Callbacks.h:1888
NH_CONTROLLER_REFRESHCURRENTMODIFIERPARAMVALUE pRefreshModifierParameterValue
Definition: CLC_Callbacks.h:1926
NH_CHAI_NOTIFICATION pNotification
Definition: CLC_Callbacks.h:1767
void(* NH_SERVER_ASKTOENTERBL)(void)
Called when the VNM want the client to enter in boot loader mode.
Definition: CLC_Callbacks.h:1704
void(* ARH_REMOTEDEVICE_GETPARAMINFOSELECTOR)(CPSECTIONID const *const pSectionID, CPPARAMETERID const *const pParamID, CPCHAR8 const *const utf8Name, CPHOOKEDOBJECT const hIndexListID, CPUINT16 const wItemIndexMax, CPHOOKEDOBJECT const hSelectorItemListID, CPUINT16 const wGroup, SelectorInformationProfiles const informationProfiles, ControllerTypes preferredControllerType, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetParameterInfo_Async function call when the parameter is a...
Definition: CLC_Callbacks.h:271
void(* NH_OUTPUT_REFRESHCURRENTMODIFIERPARAMVALUE)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPENDPOINT const *const pSource, CPPARAMETERID const *const pParamID, CPVALUE const *const pValue, CPCHAR8 const *const utf8ValueText, RefreshValueAttributes const attributes)
Called to inform that a modifier parameter changed its value.
Definition: CLC_Callbacks.h:1407
void(* NH_OUTPUT_REFRESHPARAMETERDEFINITION)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPENDPOINT const *pSource)
Called to inform that the layout of parameters changed for the specified source.
Definition: CLC_Callbacks.h:1361
NH_LOCALDEVICE_NOTIFICATION pNotification
Definition: CLC_Callbacks.h:1783
NH_CP2MIDI_MIDISYSEX pMIDISysEx
Definition: CLC_Callbacks.h:1804
void(* NH_INPUT_SOURCECHANGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *const pSource, ISCCauses const operation)
Input source change notification.
Definition: CLC_Callbacks.h:1056
void(* NH_PIPE_DATACONSUMED)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData)
This is called on reception of DataConsumed from the target side.
Definition: CLC_Callbacks.h:1603
ARH_REMOTEDEVICE_COLLECTSNAPSHOTDATA pCollectSnapshotData
Definition: CLC_Callbacks.h:1753
CLC_Callbacks g_CLCCb
NH_SHAREDDISPLAY_SETTEXT pSetText
Definition: CLC_Callbacks.h:1848
void(* NH_OUTPUT_REFRESHCURRENTTEXTPARAMVALUE)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPENDPOINT const *const pSource, CPPARAMETERID const *const pParamID, CPCHAR8 const *const utf8ValueText, RefreshValueAttributes const attributes)
Called to inform that a text parameter changed its value.
Definition: CLC_Callbacks.h:1452
DeviceNameFormats
Device name formats. Used during a LocalDevice_GetName or RemoteDevice_GetName_Async call to specify ...
Definition: CLC_Enums.h:803
NH_LOCALDEVICE_SCT_STARTED pSCTStarted
Definition: CLC_Callbacks.h:1789
NH_SHAREDDISPLAY_REQUEST pRequest
Definition: CLC_Callbacks.h:1845
void(* NH_CONTROLLER_REFRESHCURRENTTEXTPARAMVALUE)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPCHAR8 const *const utf8ValueText, RefreshValueAttributes const attributes)
This to inform the application that a text parameter changed of value. It is useful to reflect curren...
Definition: CLC_Callbacks.h:1533
NH_OUTPUT_REFRESHCURRENTSELECTORPARAMVALUE pRefreshCurrentSelectorParameterValue
Definition: CLC_Callbacks.h:1912
void(* APP_COPPERLANDOPROCESS)(void *const pParam)
Entry point for the CopperLan application pseudo task. See pfnCPDoProcess in CLC_Callbacks structure...
Definition: CLC_Callbacks.h:60
This structure stores data from a selector message.
Definition: CLC_Fct_SelectorMessage.h:64
Container structure for Device ID.
Definition: CLC_Types.h:39
ARH_CHAI_REMOTEDEVICE_FIND pRemoteDeviceFind
Definition: CLC_Callbacks.h:1729
void(* ARH_REMOTEDEVICE_COLLECTSNAPSHOTDATA)(AsyncResult const result, SnapshotBlockPriorities const priority, SnapshotTypes const snapshotType, CPUINT32 const dwOffset, CPUINT32 const dwSnapshotContextData, CPUINT16 const wBlockSize, CPBOOLEAN const fIsLastBlock, CPBYTE const *const pBuffer, CPUINT32 const dwClientContextData)
End of asynchronous for RemoteDevice_CollectSnapshotData_Async function call.
Definition: CLC_Callbacks.h:405
APP_CONNECTIONSTATECHANGE pfnCHAILinkConnectionStateChangedCB
CHAILink to Application Connection Status Change callback.
Definition: CLC_Callbacks.h:1711
LocalDeviceNotificationTypes
Notification types related to base local devices. Used by the LocalDevice notification handler to inf...
Definition: CLC_Enums.h:98
NH_INPUT_CLOCKDEFINITION pClockDefinition
Definition: CLC_Callbacks.h:1886
void(* NH_INPUTPARAM_ONMODIFIERUPDATE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPHOBJECT const hParameter, CPUINT32 const dwParameterUserData, CPUINT16 const wUpdatedRawValue, CPMODIFIERMSG const *const pModifier)
An Modifier message related to this Parameter has been received. The updated raw value argument conta...
Definition: CLC_Callbacks.h:1265
void(* NH_OUTPUT_FLOWCONTROL)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPBOOLEAN const fReady)
Called on flow control status update.
Definition: CLC_Callbacks.h:1327
ClockGeneratorCommands
Clock generator commands.
Definition: CLC_Enums.h:126
MessageTypes
Message types.
Definition: CLC_Enums.h:147
void * pConnectionStateChangedParam
pParam value during pfnCHAILinkConnectionStateChangedCB notifications
Definition: CLC_Callbacks.h:1715
Controller assignment structure.
Definition: CLC_Types.h:85
The container structure for Value. Use CPValue Functions CPVALUE_xxx functions to handle this structu...
Definition: CLC_Types.h:117
NH_OUTPUT_UPDATESELECTORITEMLISTCONTENT pUpdateSelectorItemListContent
Definition: CLC_Callbacks.h:1910
NH_LOCALDEVICE_SCT_SECTIONLISTREPLY pSCTSectionListReply
Definition: CLC_Callbacks.h:1790
NH_CONTROLLER_REFRESHCURRENTSELECTORPARAMVALUE pRefreshSelectorParameterValue
Definition: CLC_Callbacks.h:1927
void(* NH_SHAREDDISPLAY_SETCURSOR)(CPHOBJECT const hSharedDisplay, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wX, CPUINT16 const wY, SharedDisplayCursorTypes const type)
Called if the client is requesting to move the cursor.
Definition: CLC_Callbacks.h:979
Callback list for Application callbacks.
Definition: CLC_Callbacks.h:1708
Structure containing all CHAILink client callbacks.
Definition: CLC_Callbacks.h:1988
RefreshValueAttributes
Refresh current value attributes.
Definition: CLC_Enums.h:1692
ARH_REMOTEDEVICE_GETOUTPUTINFO pGetOutputInfo
Definition: CLC_Callbacks.h:1740
void(* NH_INPUT_MODIFIERMESSAGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPMODIFIERMSG const *const pModifier, CPENDPOINT const *const pSource, CPTIMESTAMPINFO const *const pTimeStamp)
Called on modifier message reception.
Definition: CLC_Callbacks.h:1109
CLC_Application_CallbackList Application
A CLC_Application_CallbackList structure filled by application and containing the list of application...
Definition: CLC_Callbacks.h:1990
CPUINT32 CPHOBJECT
Handle on Object.
Definition: CLCm_Types.h:57
void(* NH_CONTROLLER_ONLEARNINGMODECHANGE)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPBOOLEAN const fIsLearning)
Notify about learning mode status change for this controller.
Definition: CLC_Callbacks.h:1570
void(* NH_CP2MIDI_MIDISYSEX)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPBOOLEAN const fLastBlock, CPUINT8 const bSize, CPBYTE const *const pData, CPENDPOINT const *const pSource)
Incoming SYSEX message notification for CP2Midi and HybridMidi devices.
Definition: CLC_Callbacks.h:751
SnapshotTypes
Snapshot block types.
Definition: CLC_Enums.h:2139
void(* ARH_REMOTEDEVICE_SMARTCONNECTSTART)(SmartConnectAsyncResult const status, CPUINT16 const wSessionID, Errors const errCode, CPUINT32 const dwClientContextData)
SmartConnect status information.
Definition: CLC_Callbacks.h:432
NH_LOCALDEVICE_SCT_CONTROLLERLISTREPLY pSCTControllerListReply
Definition: CLC_Callbacks.h:1791
void(* NH_LOCALDEVICE_SIGNAL)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wSignalNumber, CPUINT16 const wOptionalData0, CPUINT16 const wOptionalData1, CPUINT16 const wOptionalData2, CPUINT16 const wOptionalData3, CPCHAR8 const *const utf8OptionalData, CPENDPOINT const *const pOptionalEndPoint, CPDEVICEID const *const pSourceDevID)
Called if the local device received a signal.
Definition: CLC_Callbacks.h:705
NH_CONTROLLER_CONNECTIONSTATUS pConnectionStatus
Definition: CLC_Callbacks.h:1925
ARH_REMOTEDEVICE_GETNAME pGetName
Definition: CLC_Callbacks.h:1736
void(* ARH_REMOTEDEVICE_GETDETAILEDDESTINATION)(AsyncResult const result, CPUINT16 const wOutputID_or_ControllerID, CPUINT16 const wDestinationIndex, CPENDPOINT const *pDestination, CPHOOKEDOBJECT const hTargetRemoteDevice, CPCHAR8 const *const utf8EndPointName, CPCHAR8 const *const utf8TargetMachineName, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetDetailedDestination_Async function call.
Definition: CLC_Callbacks.h:221
NH_SHAREDDISPLAY_SESSIONCLOSED pSessionClosed
Definition: CLC_Callbacks.h:1846
NH_CP2MIDI_MIDIMESSAGE pMIDIMessage
Definition: CLC_Callbacks.h:1803
void(* APP_ERRORCB)(CLC_ErrorCode const errorCode, void *const pParam)
CHAILink to Application error reporting callback.
Definition: CLC_Callbacks.h:48
NH_VMIDILINKIN_STATUSCHANGE pStatusChange
Definition: CLC_Callbacks.h:1812
void(* NH_OUTPUT_DATACONSUMED)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData)
This is called on reception of DataConsumed from the target side.
Definition: CLC_Callbacks.h:1336
void(* NH_LOCALDEVICE_SNAPSHOT_REQUESTCOLLECTSNAPSHOTDATA)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT16 const wRequestID, SnapshotTypes const snapshotType, CPUINT32 const dwOffset, CPUINT32 const dwSnapshotContextData, CPUINT16 const wMaxBlockSize)
Called by the CHAI to request snapshot data related to the device.
Definition: CLC_Callbacks.h:574
void(* NH_OUTPUT_UPDATESELECTORITEMLISTCONTENT)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, CPHOOKEDOBJECT const hSelectorItemListID, CPUINT16 const wNewSize)
This to inform the application that the specified selector item list content changed.
Definition: CLC_Callbacks.h:1388
void(* NH_CONTROLLER_ASSIGN)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, ControllerAssignReasons const reason, CPCONTROLLERASSIGNMENT const *const pAssignment)
This notification is called to assign a controller to a specific message. Current controller assignme...
Definition: CLC_Callbacks.h:1547
void(* NH_CONTROLLER_REFRESHCURRENTSELECTORPARAMVALUE)(CPHOBJECT const hController, CPUINT32 const dwControllerUserData, CPUINT16 const wValue, CPCHAR8 const *const utf8ValueText, RefreshValueAttributes const attributes, CPUINT16 const wProportionalValue)
This to inform the application that a selector parameter changed of value. It is useful to reflect cu...
Definition: CLC_Callbacks.h:1517
unsigned long long CPUINT64
Quad Word Integer (64 bit unsigned)
Definition: PlatformTypes.h:51
Callback list for all notification handlers.
Definition: CLC_Callbacks.h:1762
SharedDisplayCaps
Shared display capabilities.
Definition: CLC_Enums.h:2163
void(* NH_SHAREDDISPLAY_SESSIONCLOSED)(CPHOBJECT const hSharedDisplay, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData)
Called if shared display session was closed by the client.
Definition: CLC_Callbacks.h:934
void(* ARH_REMOTEDEVICE_GETDESTINATIONCOUNT)(AsyncResult const result, CPUINT16 const wOutputID, CPUINT16 const wDestCount, CPUINT32 const dwClientContextData)
End of asynchronous for the RemoteDevice_GetDestination_Async function call.
Definition: CLC_Callbacks.h:193
DeviceDiscardedReasons
Notifications types related to device discarding Used by the CHAI notification handler to inform the ...
Definition: CLC_Enums.h:762
NH_SHAREDDISPLAYCLIENT_ONKEY pOnKey
Definition: CLC_Callbacks.h:1858
ODCOperations
Operations for Output Destination Change notification.
Definition: CLC_Enums.h:1616
void(* NH_OUTPUT_CLOCK_GENERATORCOMMAND)(CPHOBJECT const hOutput, CPUINT32 const dwOutputUserData, ClockGeneratorCommands cmd)
This is called to control clock generator status (enabled by default)
Definition: CLC_Callbacks.h:1470
void(* NH_INPUT_TEXTMESSAGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPTEXTMSG const *const pText, CPENDPOINT const *const pSource, CPTIMESTAMPINFO const *const pTimeStamp)
Called on text message reception.
Definition: CLC_Callbacks.h:1141
NH_CHAI_GLOBALTIMER pGlobalTimer
Definition: CLC_Callbacks.h:1776
NH_CONTROLLER_ASSIGN pAssign
Definition: CLC_Callbacks.h:1929
void(* NH_SHAREDDISPLAYCLIENT_REQUESTACCEPTED)(CPHOBJECT const hSharedDisplayClient, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, SharedDisplayCaps const displayCaps, CPUINT16 const wWidth, CPUINT16 const wHeight)
Called if a shared display server is accepting the request.
Definition: CLC_Callbacks.h:1002
APP_ERRORCB pfnCHAILinkErrorCB
CHAILink to Application error reporting callback.
Definition: CLC_Callbacks.h:1710
SharedDisplayKeyTypes
Shared display key types.
Definition: CLC_Enums.h:2194
SharedDisplayCursorTypes
Shared display cursor types.
Definition: CLC_Enums.h:2178