public override int Active() { _start = 0; _startNotified = false; _stopNotified = false; { lock (m_Filter.FilterLock) { _clock = m_Filter.Clock; if (_clock.IsValid) { _clock._AddRef(); } _semaphore = new Semaphore(0, 0x7FFFFFFF); } } return base.Active(); }
public override int Active() { m_rtStart = 0; m_bStartNotified = false; m_bStopNotified = false; { lock (m_Filter.FilterLock) { m_pClock = m_Filter.Clock; if (m_pClock.IsValid) { m_pClock._AddRef(); } m_hSemaphore = new Semaphore(0, 0x7FFFFFFF); m_isActive = true; } } return base.Active(); }