internal MI_Result NewSession( string protocol, string destination, MI_DestinationOptions options, MI_SessionCreationCallbacks callbacks, out MI_Instance extendedError, out MI_Session session ) { if (callbacks != null) { throw new NotImplementedException(); } MI_Instance extendedErrorLocal = MI_Instance.NewIndirectPtr(); MI_Session sessionLocal = MI_Session.NewDirectPtr(); MI_Result resultLocal = this.ft.NewSession(this, protocol, destination, options, null, extendedErrorLocal, sessionLocal); extendedError = extendedErrorLocal; session = sessionLocal; return(resultLocal); }
internal MI_Result GetSession( MI_Session session ) { MI_Result resultLocal = this.ft.GetSession(this, session); return(resultLocal); }