//------------------------------------------------------------------- // Name: EnumerateChunksInList // Description: Return a parser for a LIST. //------------------------------------------------------------------- private void EnumerateChunksInList(out CRiffParser ppParser) { ppParser = null; if (!m_chunk.IsList()) { throw new COMException("not in list", (int)HResult.E_FAIL); } ppParser = new CRiffParser(m_pStream, new FourCC("LIST"), m_llCurrentChunkOffset); }
//------------------------------------------------------------------- // Name: EnumerateChunksInList // Description: Return a parser for a LIST. //------------------------------------------------------------------- private void EnumerateChunksInList(out CRiffParser ppParser) { ppParser = null; if (!m_chunk.IsList()) { throw new COMException("not in list", E_Fail); } ppParser = new CRiffParser(m_pStream, new FourCC("LIST"), m_llCurrentChunkOffset); }