Beispiel #1
0
        private void TestEnumTuningSpaces()
        {
            int hr = 0;
            IEnumTuningSpaces tuningSpaces;

            hr = tuner.EnumTuningSpaces(out tuningSpaces);
            DsError.ThrowExceptionForHR(hr);

            Debug.Assert((hr == 0) && (tuningSpaces != null), "ITuner.EnumTuningSpaces");

            Marshal.ReleaseComObject(tuningSpaces);
        }