globalUnlock function

bool globalUnlock(
  1. Pointer<NativeType> mem
)

Decrements the lock count associated with a memory object that was allocated with GMEM_MOVEABLE. This function has no effect on memory objects allocated with GMEM_FIXED.

Implementation

bool globalUnlock(Pointer mem) {
  return _globalUnlockFunc(mem) == 0 ? false : true;
}