GlobalLock (KERNEL32.@)
WINAPI GlobalLock ( void* WINAPI GlobalLock( HGLOBAL handle )
Lock a global memory object and return a pointer to first byte of the memory.
handle | [In] | Handle of the global memory object. |
Success: Pointer to first byte of the memory block
Failure: NULL.
When the handle is invalid, last error is set to ERROR_INVALID_HANDLE
Declared in "include/windowsx.h". gitlab.winehq.org/wine/wine/blob/master/include/windowsx.h
Implemented in "dlls/kernel32/heap.c". gitlab.winehq.org/wine/wine/blob/master/dlls/kernel32/heap.c
Debug channel "globalmem".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.