private void TestAlloc()
        {
            bool b;

            m_Writer.SetAllocateForPostView(1, true);
            m_Writer.GetAllocateForPostView(1, out b);

            Debug.Assert(b);
        }
Пример #2
0
        private void TestPostView()
        {
            m_ViewSample = false;
            m_Alloc      = false;

            IWMWriterPostView w = m_Writer as IWMWriterPostView;

            w.SetPostViewCallback(this, new IntPtr(17));
            w.SetAllocateForPostView(1, true);
            w.SetReceivePostViewSamples(1, true);
        }