CeDeleteRwLock (Compact 2013)
3/28/2014
CeDeleteRwLock deletes the specified reader/writer lock object, or marks the specified lock object to be deleted when all threads have relinquished ownership of the lock.
Syntax
BOOL
CeDeleteRwLock(
__in HRWLOCK hLock
);
Parameters
- hLock
Handle to a reader/writer lock object previously created by a call to CeCreateRwLock.
Return Value
TRUE indicates the lock object has been successfully deleted. FALSE indicates that the lock object is not valid.
Remarks
Call CeDeleteRwLock to delete a reader/writer lock created with a call to CeCreateRwLock.
When CeDeleteRwLock is called on a valid reader/writer lock, the underlying lock object is deleted immediately. Any attempts to acquire a lock after CeDeleteRwLock has been called on the lock will fail.
Requirements
Header |
Cerwlock.h |
Library |
coredll.lib |