public int Receive(ref RPCOLEMESSAGE pMsg, IntPtr pulStatus) { if (m_ReceiveFunc == null) { var fp = GetFunctionPointer(10); m_ReceiveFunc = (ReceiveFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ReceiveFunc)); } return(m_ReceiveFunc(m_ptr, ref pMsg, pulStatus)); }
public int GetDestCtxEx(ref RPCOLEMESSAGE pMsg, ref uint pdwDestContext, ref IntPtr ppvDestContext) { if (m_GetDestCtxExFunc == null) { var fp = GetFunctionPointer(11); m_GetDestCtxExFunc = (GetDestCtxExFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDestCtxExFunc)); } return(m_GetDestCtxExFunc(m_ptr, ref pMsg, ref pdwDestContext, ref ppvDestContext)); }
public int FreeBuffer(ref RPCOLEMESSAGE pMessage) { if (m_FreeBufferFunc == null) { var fp = GetFunctionPointer(5); m_FreeBufferFunc = (FreeBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(FreeBufferFunc)); } return(m_FreeBufferFunc(m_ptr, ref pMessage)); }
public int Send(ref RPCOLEMESSAGE pMsg, IntPtr pSync, IntPtr pulStatus) { if (m_SendFunc == null) { var fp = GetFunctionPointer(9); m_SendFunc = (SendFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SendFunc)); } return(m_SendFunc(m_ptr, ref pMsg, pSync, pulStatus)); }
public int GetBuffer(ref RPCOLEMESSAGE pMessage, ref Guid riid) { if (m_GetBufferFunc == null) { var fp = GetFunctionPointer(3); m_GetBufferFunc = (GetBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetBufferFunc)); } return(m_GetBufferFunc(m_ptr, ref pMessage, ref riid)); }
public int SendReceive(ref RPCOLEMESSAGE pMessage, IntPtr pStatus) { if (m_SendReceiveFunc == null) { var fp = GetFunctionPointer(4); m_SendReceiveFunc = (SendReceiveFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SendReceiveFunc)); } return(m_SendReceiveFunc(m_ptr, ref pMessage, pStatus)); }
public int GetState(ref RPCOLEMESSAGE pMsg, ref uint pState) { if (m_GetStateFunc == null) { var fp = GetFunctionPointer(14); m_GetStateFunc = (GetStateFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetStateFunc)); } return(m_GetStateFunc(m_ptr, ref pMsg, ref pState)); }
public int ReleaseMarshalBuffer(ref RPCOLEMESSAGE pMsg, uint dwFlags, IntPtr pChnl) { if (m_ReleaseMarshalBufferFunc == null) { var fp = GetFunctionPointer(3); m_ReleaseMarshalBufferFunc = (ReleaseMarshalBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ReleaseMarshalBufferFunc)); } return(m_ReleaseMarshalBufferFunc(m_ptr, ref pMsg, dwFlags, pChnl)); }
public int GetCallContext(ref RPCOLEMESSAGE pMsg, ref Guid riid, ref IntPtr pInterface) { if (m_GetCallContextFunc == null) { var fp = GetFunctionPointer(12); m_GetCallContextFunc = (GetCallContextFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetCallContextFunc)); } return(m_GetCallContextFunc(m_ptr, ref pMsg, ref riid, ref pInterface)); }
public int Cancel(ref RPCOLEMESSAGE pMsg) { if (m_CancelFunc == null) { var fp = GetFunctionPointer(11); m_CancelFunc = (CancelFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CancelFunc)); } return(m_CancelFunc(m_ptr, ref pMsg)); }
public int RegisterAsync(ref RPCOLEMESSAGE pMsg, IntPtr pAsyncMgr) { if (m_RegisterAsyncFunc == null) { var fp = GetFunctionPointer(15); m_RegisterAsyncFunc = (RegisterAsyncFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(RegisterAsyncFunc)); } return(m_RegisterAsyncFunc(m_ptr, ref pMsg, pAsyncMgr)); }
public int Invoke(ref RPCOLEMESSAGE _prpcmsg, IntPtr _pRpcChannelBuffer) { if (m_InvokeFunc == null) { var fp = GetFunctionPointer(5); m_InvokeFunc = (InvokeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(InvokeFunc)); } return(m_InvokeFunc(m_ptr, ref _prpcmsg, _pRpcChannelBuffer)); }
public int NegotiateSyntax(ref RPCOLEMESSAGE pMsg) { if (m_NegotiateSyntaxFunc == null) { var fp = GetFunctionPointer(3); m_NegotiateSyntaxFunc = (NegotiateSyntaxFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(NegotiateSyntaxFunc)); } return(m_NegotiateSyntaxFunc(m_ptr, ref pMsg)); }