Share via


CCritSec Class (Windows Embedded CE 6.0)

1/6/2010

Ee495284.23159e87-a21f-4e71-85be-b35e3f99c65b(en-US,WinEmbedded.60).gif

This object provides intraprocess synchronization.

The current implementation uses the Microsoft® Win32® APIs that use the CRITICAL_SECTION type.

The safest way to use CCritSec objects is to lock them with a CAutoLock object that guarantees to unlock the object when it goes out of scope and compiles to efficient inline code.

Member Functions

Member function Description

CCritSec

Constructs a CCritSec object.

Lock

Locks the critical section object.

Unlock

Unlocks the critical section object.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Classes