Ejemplo n.º 1
0
 public int Invoke(int dispIdMember, ref Guid riid, uint lcid, ushort wFlags, ref DISPPARAMS pDispParams, ref VARIANT pVarResult, ref EXCEPINFO pExcepInfo, ref uint puArgErr)
 {
     if (m_InvokeFunc == null)
     {
         var fp = GetFunctionPointer(6);
         m_InvokeFunc = (InvokeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(InvokeFunc));
     }
     return(m_InvokeFunc(m_ptr, dispIdMember, ref riid, lcid, wFlags, ref pDispParams, ref pVarResult, ref pExcepInfo, ref puArgErr));
 }
Ejemplo n.º 2
0
 public int Invoke(IntPtr pvInstance, int memid, ushort wFlags, ref DISPPARAMS pDispParams, ref VARIANT pVarResult, ref EXCEPINFO pExcepInfo, ref uint puArgErr)
 {
     if (m_InvokeFunc == null)
     {
         var fp = GetFunctionPointer(11);
         m_InvokeFunc = (InvokeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(InvokeFunc));
     }
     return(m_InvokeFunc(m_ptr, pvInstance, memid, wFlags, ref pDispParams, ref pVarResult, ref pExcepInfo, ref puArgErr));
 }