Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
Locks the critical section object.
Syntax
void Lock( );
Parameters
None.
Return Value
None.
Remarks
This member function locks the critical section object.
You can make multiple lock calls on the same thread, but the CCritSec::Unlock member function must be called a corresponding number of times before the object is unlocked.
If the object is locked by another thread, the CCritSec::Lock member function blocks until either the object is released or a "possible deadlock" exception occurs.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |