Partager via


CBaseMediaFilter::m_pLock

 
Microsoft DirectShow 9.0

CBaseMediaFilter::m_pLock

Pointer to a critical section.

Syntax

  CCritSec *m_pLock;

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

Remarks

The critical section is held during state transitions (CBaseMediaFilter::Run, CBaseMediaFilter::Pause, CBaseMediaFilter::Stop), when accessing the reference clock (CBaseMediaFilter::SetSyncSource, CBaseMediaFilter::GetSyncSource), and in the CBaseMediaFilter::IsActive method.

See Also