Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

Community Additions

ADD
Show:
© 2015 Microsoft