public virtual int FreeBuffer( out tagRPCOLEMESSAGE pMessage ) { var fp = GetFunctionPointer(5); if (m_FreeBufferFunc == null) { m_FreeBufferFunc = (FreeBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(FreeBufferFunc)); } return(m_FreeBufferFunc(m_ptr, out pMessage)); }
public virtual int Invoke( out tagRPCOLEMESSAGE _prpcmsg, IRpcChannelBuffer _pRpcChannelBuffer ) { var fp = GetFunctionPointer(5); if (m_InvokeFunc == null) { m_InvokeFunc = (InvokeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(InvokeFunc)); } return(m_InvokeFunc(m_ptr, out _prpcmsg, _pRpcChannelBuffer != null ? _pRpcChannelBuffer.Ptr : IntPtr.Zero)); }
public virtual int SendReceive( out tagRPCOLEMESSAGE pMessage, out uint pStatus ) { var fp = GetFunctionPointer(4); if (m_SendReceiveFunc == null) { m_SendReceiveFunc = (SendReceiveFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SendReceiveFunc)); } return(m_SendReceiveFunc(m_ptr, out pMessage, out pStatus)); }
public virtual int GetBuffer( out tagRPCOLEMESSAGE pMessage, ref Guid riid ) { var fp = GetFunctionPointer(3); if (m_GetBufferFunc == null) { m_GetBufferFunc = (GetBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetBufferFunc)); } return(m_GetBufferFunc(m_ptr, out pMessage, ref riid)); }