Example #1
0
 public void GetBaseInterface(out IMDInterface ppBase)
 {
     if (m_heapint.BaseInterface != null)
         ppBase = new MDInterface(m_heapint.BaseInterface);
     else
         ppBase = null;
 }
Example #2
0
 public void GetBaseInterface(out IMDInterface ppBase)
 {
     if (m_heapint.BaseInterface != null)
     {
         ppBase = new MDInterface(m_heapint.BaseInterface);
     }
     else
     {
         ppBase = null;
     }
 }
Example #3
0
        public int Next(out IMDInterface pValue)
        {
            if (m_curr < m_data.Count)
            {
                pValue = new MDInterface(m_data[m_curr]);
                m_curr++;
                return(HRESULTS.S_OK);
            }

            pValue = null;
            if (m_curr == m_data.Count)
            {
                m_curr++;
                return(HRESULTS.S_FALSE);
            }

            return(HRESULTS.E_FAIL);
        }
Example #4
0
        public int Next(out IMDInterface pValue)
        {
            if (m_curr < m_data.Count)
            {
                pValue = new MDInterface(m_data[m_curr]);
                m_curr++;
                return HRESULTS.S_OK;
            }

            pValue = null;
            if (m_curr == m_data.Count)
            {
                m_curr++;
                return HRESULTS.S_FALSE;
            }

            return HRESULTS.E_FAIL;
        }