void TestPlayChaptersAutoStop()
        {
            int     hr;
            IDvdCmd ppCmd;
            DvdPlaybackLocation2 pLocation;

            AllowPlay();
            hr = m_idc2.PlayChaptersAutoStop(1, 1, 1, DvdCmdFlags.Flush | DvdCmdFlags.SendEvents, out ppCmd);
            DsError.ThrowExceptionForHR(hr);

            Thread.Sleep(7000);

            // Should fail since the playing should be finished
            hr = m_idi2.GetCurrentLocation(out pLocation);
            Debug.Assert(hr == DsResults.E_DVDInvalidDomain, "TestPlayPeriodInTitleAutoStop");
        }