MemBuffer::lock Method

This method increments the lock count of this buffer by 1, so that the grabber cannot overwrite the data in this buffer.
Syntax:
void lock();
Remarks:

If the grabber cannot write to this buffer, the WasLockedFlag is set.

See also: MemBuffer, MemBuffer::unlock, MemBuffer::forceUnlock, MemBuffer::isLocked, MemBuffer::getWasLockedFlag

<< MemBuffer