private void TestParam() { int hr; int p1; IntPtr p2 = IntPtr.Zero; hr = m_asfw.GetParam(ASFWriterConfig.MultiPass, out p1, p2); DsError.ThrowExceptionForHR(hr); Debug.Assert(p1 == 0, "GetParam"); hr = m_asfw.SetParam(ASFWriterConfig.MultiPass, 1, 0); DsError.ThrowExceptionForHR(hr); hr = m_asfw.GetParam(ASFWriterConfig.MultiPass, out p1, p2); DsError.ThrowExceptionForHR(hr); Debug.Assert(p1 == 1, "SetParam"); }