I don't think It's even documented in the code. Here's the message ID's and the class constructors for the messages. Maybe that might help a little, but you'll probably still have a lot of figuring out to do.
Code: Select all
//
// Loader message ID's start here
midLoaderConnect,
midLoaderDisconnect,
//
// Client message ID's start here
midClientIDStart = 1000,
midClientLogin,
midClientLogout,
midClientSubscribeToProperty,
midClientUnsubscribeFromProperty,
midClientPropertyChangeRequest,
midClientTaskExecuteRequest,
midClientGetPropertyValueRequest,
midClientGetValidPropertyValuesRequest,
midClientFileUpdateCheckRequest,
midClientChangeModeState,
midClientGetModeStateRequest,
midClientSleep,
midClientDirectoryListingRequest,
midClientAddValueToList,
midClientChangeValueInList,
midClientAcknowledgment,
midClientInitialized,
midClientGetFileRequest,
midClientMouseAction,
midClientBulkUnsubscribeFromProperties,
midClientBulkSubscribeToProperties,
//
// Server message ID's start here
midServerIDStart = 2000,
midServerTerminating,
midServerPropertyChangeNotification,
midServerPropertyValueResponse,
midServerValidPropertyValuesResponse,
midServerLoginResponse,
midServerFileUpdateCheckResponse,
midServerModeChangeStateNotification,
midServerModeStateResponse,
midServerDirectoryListingResponse,
midServerPingStatusRequest,
midServerClientSleepResponse,
midServerControlClientRequest,
midServerGetFileResponse,
Code: Select all
CClientLoginMessage( DWORD dwAPIVersion, LPCTSTR szClientVersion, CString& szClientName, CString& szComputerName, CString& szPassword );
CClientSubscribeToPropertyMessage( DWORD dwDeviceID, DWORD dwPropertyID );
CClientBulkSubscribeToPropertiesMessage( LPCTSTR szData );
CClientUnsubscribeFromPropertyMessage( DWORD dwDeviceID, DWORD dwPropertyID );
CClientBulkUnsubscribeFromPropertiesMessage( LPCTSTR szData );
CClientPropertyChangeRequestMessage( DWORD dwDeviceID, DWORD dwPropertyID, LPCTSTR szNewValue );
CClientTaskExecuteRequestMessage( DWORD dwTaskID );
CClientGetPropertyValueMessage( DWORD dwControlID, DWORD dwDeviceID, DWORD dwPropertyID );
CClientGetValidPropertyValuesMessage( DWORD dwControlID, DWORD dwDeviceID, DWORD dwPropertyID );
CClientFileUpdateCheckRequestMessage( LPCTSTR szFileName, DWORD dwChecksum );
CClientChangeModeStateMessage( DWORD dwModeID, BOOL bActive );
CClientGetModeStateMessage( DWORD dwControlID, DWORD dwModeID );
CClientSleepMessage( BOOL bSleep );
CClientDirectoryListingRequest( DWORD dwControlID, LPCTSTR szDirectory );
CClientAddValueToList( DWORD dwIndex, LPCTSTR szItemToAdd, DWORD dwDeviceID, DWORD dwPropertyID );
CClientChangeValueInList( eFunction eAction, DWORD dwIndex, DWORD dwDeviceID, DWORD dwPropertyID );
CClientAcknowledgement( DWORD dwStatus );
CClientInitialized( BOOL bInitialized );
CClientGetFileRequest( DWORD dwControlID, BOOL bCompareChecksums, DWORD dwCheckSums, LPCTSTR szFileName );
CClientMouseActionRequest( int nAction, int nX, int nY );
CServerPropertyChangeNotificationMessage( DWORD dwDeviceID, DWORD dwPropertyID, LPCTSTR szPropertyValue );
CServerPropertyValueMessage( DWORD dwControlID, DWORD dwDeviceID, DWORD dwPropertyID, LPCTSTR szPropertyValue );
CServerValidPropertyValuesMessage( DWORD dwControlID, DWORD dwDeviceID, DWORD dwPropertyID, LPCTSTR szPropertyValues );
CServerLoginResponseMessage( BOOL bLoginAccepted, LPCTSTR szDefaultTheme );
CServerFileUpdateResponseMessage( BOOL bFilesMatch, LPCTSTR szFileName, LPVOID pUpdatedFileData, DWORD dwFileSize );
CServerModeChangeStateNotificationMessage( DWORD dwModeID, BOOL bActive );
CServerModeStateResponseMessage( DWORD dwControlID, DWORD dwModeID, BOOL bActive );
CServerDirectoryListingResponse( DWORD dwControlID, LPCTSTR szListing );
CServerPingStatusRequest( DWORD dwType );
CServerClientSleepResponse();
CServerControlClientRequest( DWORD dwAction, LPCTSTR szValue1, LPCTSTR szValue2 ); // Value 1 and 2 depend on the value set in dwAction
CServerGetFileResponseMessage( DWORD dwControlID, BOOL bFilesMatch, LPCTSTR szFileName, DWORD dwServerChecksum, DWORD dwFileSize, LPVOID pFileData );