GlobalLock (KERNEL32.@)
LPVOID GlobalLock ( HGLOBAL hmem )
Lock a global memory object and return a pointer to first byte of the memory.
hmem | [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
Defined in "winbase.h".
Implemented in "dlls/kernel32/heap.c". source.winehq.org/source/dlls/kernel32/heap.c
Debug channel "heap".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2008.