예제 #1
0
        private void TestAlloc()
        {
            IWMReaderAllocatorEx pAlloc;

            m_read.SetAllocateForOutput(1, this);
            m_read.GetAllocateForOutput(1, out pAlloc);

            Debug.Assert(pAlloc != null);
        }
예제 #2
0
        private void Test1()
        {
            m_read2.Open(sFileName);

            m_read2.SetAllocateForOutput(0, this);

            INSSBuffer pSamp;
            long       l;
            long       d;
            SampleFlag f;
            int        i;
            short      s;

            m_read2.GetNextSample(1, out pSamp, out l, out d, out f, out i, out s);
            m_read2.Close();
        }