Share via


CCritSec Class (Windows CE 5.0)

Send Feedback

Aa451479.util01(en-us,MSDN.10).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

Microsoft DirectShow® applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.