Exemple #1
0
        //-------------------------------------------------------------------
        // 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);
        }
Exemple #2
0
        //-------------------------------------------------------------------
        // 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);
        }