CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLCm_Defines.h File Reference
#include "CLCm_Types.h"

Go to the source code of this file.

Macros

#define CLM_SERVER_RESET_DELAY_MS   200
 Server delay before Reset. Must not be changed! More...
 

Enumerations

enum  CLC_Modules {
  CLM_Client = 0x0100, CLM_Server = 0x0200, CLM_General = 0x0300, CLM_HookedObject = 0x0400,
  CLM_Async = 0x0500, CLM_CHAI = 0x0600, CLM_RemoteDevice = 0x0700, CLM_LocalDevice = 0x0800,
  CLM_CP2MIDI = 0x0900, CLM_MIDI2CP = 0x0A00, CLM_HybridMIDI = 0x0B00, CLM_Input = 0x0C00,
  CLM_BaseOutput = 0x0D00, CLM_Output = 0x0E00, CLM_Controller = 0x0F00, CLM_Pipe = 0x1000,
  CLM_SharedDisplay = 0x1100, CLM_SharedDisplayClient = 0x1200, CLM_InputParameter = 0x1300, CLM_VMIDILinkIn = 0x1400,
  CLM_VMIDILinkOut = 0x1500, CLM_VMIDILinkHybrid = 0x1600, CLM_DataTransferMessage = 0x2000, CLM_TransportProtocol = 0x3000,
  _CLM_Mask_ = 0x3F00, CLM_CmdFromClient = 0x0000, CLM_CmdFromServer = 0x4000, _CLM_CmdFromMask_ = 0x4000,
  CLM_NeedResponse = 0x8000
}
 CHAILink module list. More...
 
enum  CLC_ErrorCode {
  CLC_ErrorCode_Success = 0x0000, CLC_ErrorCode_CPErrorsReserved = 0x00FF, CLC_ErrorCode_General_MissingARHCallback = 0x01 | CLM_General, CLC_ErrorCode_General_MissingNHCallback = 0x02 | CLM_General,
  CLC_ErrorCode_General_UnknownModule = 0x03 | CLM_General, CLC_ErrorCode_General_FunctionNotRecognized = 0x04 | CLM_General, CLC_ErrorCode_General_BadPayloadSize = 0x05 | CLM_General, CLC_ErrorCode_General_BadFunctionReturn = 0x06 | CLM_General,
  CLC_ErrorCode_General_AlreadyProcessingAsync = 0x07 | CLM_General, CLC_ErrorCode_General_DataToLarge = 0x08 | CLM_General, CLC_ErrorCode_General_CannotCallFromSystem = 0x09 | CLM_General, CLC_ErrorCode_General_InvalidHandle = 0x0A | CLM_General,
  CLC_ErrorCode_General_NotConnected = 0x0B | CLM_General, CLC_ErrorCode_General_LowResources = 0x0B | CLM_General, CLC_ErrorCode_General_ArrayTooLarge = 0x0C | CLM_General, CLC_ErrorCode_General_InvalidParameter = 0x0D | CLM_General,
  CLC_ErrorCode_CHAI_InvalidDuplicateNumber = 0x01 | CLM_CHAI, CLC_ErrorCode_LovalDevice_DeviceTypeNotSupported = 0x01 | CLM_LocalDevice, CLC_ErrorCode_Client_TransportWriteFailed = 0x01 | CLM_Client, CLC_ErrorCode_Client_FunctionReturnTimeout = 0x02 | CLM_Client,
  CLC_ErrorCode_Server_ObjectTypeUnknown = 0x01 | CLM_Server, CLC_ErrorCode_Server_MemoryAllocation = 0x02 | CLM_Server, CLC_ErrorCode_Server_EthNotAvailable = 0x03 | CLM_Server, CLC_ErrorCode_Server_EthFrameTooLong = 0x04 | CLM_Server,
  CLC_ErrorCode_ModuleMask = 0xFF00, CLC_ErrorCode_IndexMask = 0x00FF
}
 Error code Enumeration. Error codes from 0x01 to 0xFF are related to a CopperLan functions return code (see Errors Enumeration in CLC_Enums.h). Other values are related to CHAI Link. More...