BOOL LocalUnlock(hMem)
This function unlocks the local memory block specified by the hMem parameter and decreases the block's reference count by one. The block is completely unlocked, and subject to moving or discarding, if the reference count is decreased to zero.
Parameter | Type/Description |
hMem | HANDLE Identifies the local memory block to be unlocked. |
The return value is zero if the block's reference count was decreased to zero. Otherwise, the return value is nonzero.