GlobalUnlock function kernel32
Decrements the lock count associated with a memory object that was allocated with GMEM_MOVEABLE.
To learn more, see learn.microsoft.com/windows/win32/api/winbase/nf-winbase-globalunlock.
Implementation
Win32Result<bool> GlobalUnlock(HGLOBAL hMem) {
final result_ = GlobalUnlock_Wrapper(hMem);
return .new(value: result_.value.i32 != FALSE, error: result_.error);
}