public void GetBaseInterface(out IMDInterface ppBase) { if (m_heapint.BaseInterface != null) ppBase = new MDInterface(m_heapint.BaseInterface); else ppBase = null; }
public void GetBaseInterface(out IMDInterface ppBase) { if (m_heapint.BaseInterface != null) { ppBase = new MDInterface(m_heapint.BaseInterface); } else { ppBase = null; } }
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); }
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; }