BOOL LocalUnlock(hloc) | |||||
HLOCAL hloc; | /* handle of local memory object | */ |
The LocalUnlock function unlocks the given local memory object. This function has no effect on fixed memory.
hloc
Identifies the local memory object to be unlocked.
The return value is zero if the function is successful. Otherwise, it is nonzero.
With discardable memory, this function decrements (decreases by one) the object's lock count. The object is completely unlocked, and subject to discarding, if the lock count is decreased to zero.