internal static extern void DoseC_ConnectSecondary (System.IntPtr connectionNameCommonPart, System.IntPtr connectionNameInstancePart, System.Int32 lang, OnNewEntityCb onNewEntityCb, OnUpdatedEntityCb onUpdatedEntityCb, OnDeletedEntityCb onRemovedEntityCb, OnCreateRequestCb onCreateRequestCb, OnUpdateRequestCb onUpdateRequestCb, OnDeleteRequestCb onDeleteRequestCb, OnServiceRequestCb onServiceRequestCb, OnResponseCb onResponseCb, OnMessageCb onMessageCb, OnRegisteredCb onRegisteredCb, OnUnregisteredCb onUnregisteredCb, OnRevokedRegistrationCb onRevokedRegistrationCb, OnCompletedRegistrationCb onCompletedRegistrationCb, OnInjectedNewEntityCb onInjectedNewEntityCb, OnInjectedUpdatedEntityCb onInjectedUpdatedEntityCb, OnInjectedDeletedEntityCb onInjectedDeletedEntityCb, OnInitialInjectionsDoneCb onInitialInjectionsDoneCb, OnNotRequestOverflowCb onNotRequestOverflowCb, OnNotMessageOverflowCb onNotMessageOverflowCb, OnDropReferenceCb onDropReferenceCb, out System.Int32 newCtrlId, out byte success);
internal static extern void DoseC_Connect (System.Int32 ctrl, System.IntPtr connectionNameCommonPart, System.IntPtr connectionNameInstancePart, System.Int32 context, System.Int32 lang, System.IntPtr connectionOwner, System.IntPtr dispatcher, OnDispatchCb onDispatchCb, OnStopOrderCb onStopOrderCb, OnNewEntityCb onNewEntityCb, OnUpdatedEntityCb onUpdatedEntityCb, OnDeletedEntityCb onDeletedEntityCb, OnCreateRequestCb onCreateRequestCb, OnUpdateRequestCb onUpdateRequestCb, OnDeleteRequestCb onDeleteRequestCb, OnServiceRequestCb onServiceRequestCb, OnResponseCb onResponseCb, OnMessageCb onMessageCb, OnRegisteredCb onRegisteredCb, OnUnregisteredCb onUnregisteredCb, OnRevokedRegistrationCb onRevokedRegistrationCb, OnCompletedRegistrationCb onCompletedRegistrationCb, OnInjectedNewEntityCb onInjectedNewEntityCb, OnInjectedUpdatedEntityCb onInjectedUpdatedEntityCb, OnInjectedDeletedEntityCb onInjectedDeletedEntityCb, OnInitialInjectionsDoneCb onInitialInjectionsDoneCb, OnNotRequestOverflowCb onNotRequestOverflowCb, OnNotMessageOverflowCb onNotMessageOverflowCb, OnDropReferenceCb onDropReferenceCb, out byte success);