BOOL LocalUnlock(hloc) | |||||
HLOCAL hloc; | /* handle of local memory block | */ |
The LocalUnlock function unlocks the specified local memory block. This function has no effect on fixed memory.
hloc
Identifies the local memory block to be unlocked.
The return value is FALSE if the block's reference count was decreased to zero. Otherwise, the return value is TRUE.
With movable or discardable memory, this function decrements (decreases by one) the block's lock count. The block is completely unlocked, and subject to moving or discarding, if the lock count is decreased to zero.
LocalLock