Share via


CBaseRenderer::m_ObjectCreationLock

 
Microsoft DirectShow 9.0

CBaseRenderer::m_ObjectCreationLock

Lock to protect the creation of objects inside the filter. The filter holds this lock when it creates the input pin (CBaseRenderer::m_pInputPin) or the CRendererPosPassThru object (CBaseRenderer::m_pPosition). This lock prevents multiple threads from attempting to create one of these objects at the same time.

Syntax

  CCritSec m_ObjectCreationLock;

Requirements

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

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

See Also