Microsoft DirectX 9.0


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.


CCritSec m_ObjectCreationLock;

See Also