Ejemplo n.º 1
0
        private void TestPropSet()
        {
            int             hr;
            IPropertySetter pVal = (IPropertySetter) new PropertySetter();
            IPropertySetter pVal2;

            hr = m_pVideoGroupObj.SetPropertySetter(pVal);
            DESError.ThrowExceptionForHR(hr);

            hr = m_pVideoGroupObj.GetPropertySetter(out pVal2);
            DESError.ThrowExceptionForHR(hr);

            Debug.Assert(pVal == pVal2, "PropertySetter");
        }