Microsoft Windows CE 3.0  

CAutoLock::CAutoLock

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Takes a pointer to a critical section object and locks it.

CAutoLock(
CCritSec *
plock
);

Parameters

plock
Pointer to a critical section object.

Return Values

No return value.

Remarks

The critical section is unlocked when the CAutoLockobject is destroyed.