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"); }