Ejemplo n.º 1
0
        private void TestMuted()
        {
            int  hr;
            bool bLocked, bLocked2;

            hr = m_pVideoGroupObj.GetMuted(out bLocked);
            DESError.ThrowExceptionForHR(hr);

            hr = m_pVideoGroupObj.SetMuted(!bLocked);
            DESError.ThrowExceptionForHR(hr);

            hr = m_pVideoGroupObj.GetMuted(out bLocked2);
            DESError.ThrowExceptionForHR(hr);

            Debug.Assert(bLocked != bLocked2, "Muted");
        }