SL_MHUnlock

FUNCTIONUnlocks the memory handle locked by SL_MHLock. Each time a memory handle is locked its lock count increases by 1. Unlocking a memory handle decreases its lock count by 1. Only when the lock count is zero is the memory handle unlocked. The OS is then free to move or purge the memory handle.

Once a memory handle is completely unlocked (lock count is zero) the pointer returned by SL_MHLock is invalid and should not be used.