CEvent::Unlock
Releases the event object.
BOOL Unlock( );
Возвращаемое значение
Nonzero if the thread owned the event object and the event is an automatic event; otherwise 0.
Заметки
This member function is called by threads that currently own an automatic event to release it after they are done, if their lock object is to be reused. If the lock object is not to be reused, this function will be called by the lock object's destructor.
Требования
Header: afxmt.h