Example #1
0
 public int Stat(ref STATPROPSETSTG pstatpsstg)
 {
     if (m_StatFunc == null)
     {
         var fp = GetFunctionPointer(14);
         m_StatFunc = (StatFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(StatFunc));
     }
     return(m_StatFunc(m_ptr, ref pstatpsstg));
 }
 public int Next(uint celt, ref STATPROPSETSTG rgelt, IntPtr pceltFetched)
 {
     if (m_NextFunc == null)
     {
         var fp = GetFunctionPointer(3);
         m_NextFunc = (NextFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(NextFunc));
     }
     return(m_NextFunc(m_ptr, celt, ref rgelt, pceltFetched));
 }