//application callback function
Typedef struct _CCP_CALLBACKINTERFACE {
Void (* onReceiveInstanceMessage) (InstanceMsg * MSG);//notify the client receives a multimedia message or text message, the client needs by type, by using the theory of polymorphic, into subclasses IMAttachedReceivedMsg or IMTextReceivedMsg
Void (* onSendInstanceMessage) (CloopenReason * reason, InstanceMsg * data);//send instant message, the client needs by type, by using the theory of polymorphic, into subclasses IMAttachedSendMsg or IMSendReportMsg
} CCP_CALLBACKINTERFACE;