CSingleLock::Unlock

This method releases the synchronization object owned by CSingleLock. This method is called by CSingleLock’s destructor. If you need to release more than one access count of a semaphore, use the second implementation of Unlock and specify the number of accesses to release.

At a Glance

Header file: Afxmt.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL Unlock( );

BOOL Unlock( LONG lCount, LPLONG lPrevCount = NULL );