GlobalLock(3w)

NAME

GlobalLock (KERNEL32.@)

SYNOPSIS

LPVOID GlobalLock
 (
  HGLOBAL hmem
 )

DESCRIPTION

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

PARAMS

hmem [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

Defined in "winbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/kernel32/heap.c".

Debug channel "heap".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout