CSyncObject::Unlock
The declaration of Unlock with no parameters is a pure virtual function, and must be overridden by all classes deriving from CSyncObject.
virtual BOOL Unlock( ) = 0;
virtual BOOL Unlock(
LONG lCount,
LPLONG lpPrevCount = NULL
);
Параметры
lCount
Not used by default implementation.lpPrevCount
Not used by default implementation.
Возвращаемое значение
Default implementation always returns TRUE.
Заметки
The default implementation of the declaration with two parameters always returns TRUE. This function is called to release access to the synchronization object owned by the calling thread. The second declaration is provided for synchronization objects such as semaphores that allow more than one access of a controlled resource.
Требования
Header: afxmt.h