public void Pause() { if (m_bRunning) { int hr = m_mediaCtrl.Pause(); DsError.ThrowExceptionForHR(hr); m_bRunning = false; } }