NAME

GlobalLock  (KERNEL32.@)

SYNOPSIS

 WINAPI GlobalLock
 (
  void* WINAPI GlobalLock( HGLOBAL handle
 )

DESCRIPTION

Lock a global memory object and return a pointer to first byte of the memory.

PARAMS

handle [In] Handle of the global memory object.

RETURNS

Success: Pointer to first byte of the memory block

Failure: NULL.

NOTES

When the handle is invalid, last error is set to ERROR_INVALID_HANDLE

IMPLEMENTATION

Declared in "winbase.h". https://source.winehq.org/source/include/winbase.h

Implemented in "dlls/kernel32/heap.c". https://source.winehq.org/source/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 Apr 2024.