示例#1
0
        private void TestOutput()
        {
            int iCount, IFCount;
            IWMOutputMediaProps pProp;

            m_read.GetOutputCount(out iCount);
            Debug.Assert(iCount != 0);

            m_read.GetOutputProps(0, out pProp);
            Debug.Assert(pProp != null);
            m_read.SetOutputProps(0, pProp);

            m_read.GetOutputFormatCount(0, out IFCount);
            Debug.Assert(IFCount != 0);

            pProp = null;
            m_read.GetOutputFormat(0, 0, out pProp);
            Debug.Assert(pProp != null);
        }