public void TestConnectInput() { int hr = 0; int index; hr = tuner.get_ConnectInput(out index); DsError.ThrowExceptionForHR(hr); Debug.Assert(hr == 0, "IAMTVTuner.get_ConnectInput"); // With my hardware, i can only set what i get with get_ConnectInput (0) hr = tuner.put_ConnectInput(index); DsError.ThrowExceptionForHR(hr); Debug.Assert(hr == 0, "IAMTVTuner.put_ConnectInput"); }