Exemple #1
0
        private void TestUnimplemented()
        {
            int hr;
            int i1;

            hr = m_ire.Commit();
            Debug.Assert(hr == E_NOTIMPL, "Commit");

            hr = m_ire.Decommit();
            Debug.Assert(hr == E_NOTIMPL, "DeCommit");

            // Doc'ed as "not supported", but it seems to do something
            hr = m_ire.DoSmartRecompression();
            //Debug.Assert(hr == E_NOTIMPL, "DoSmartRecompression");

            hr = m_ire.GetCaps(1, out i1);
            Debug.Assert(hr == E_NOTIMPL, "GetCaps");

            hr = m_ire.SetInterestRange(1, 2);
            Debug.Assert(hr == E_INVALIDARG, "GetCaps");

            hr = m_ire.SetInterestRange2(1.1, 2.2);
            Debug.Assert(hr == E_INVALIDARG, "GetCaps");

            // Doc'ed as "not supported", but it seems to do something
            hr = m_ire.SetSourceConnectCallback(this);
            //Debug.Assert(hr == E_NOTIMPL, "GetCaps");

            // Doc'ed as "not supported", but it seems to do something
            hr = m_ire.UseInSmartRecompressionGraph();
            //Debug.Assert(hr == E_NOTIMPL, "GetCaps");
        }