Locks a global memory object and returns a pointer to the first byte of the object's memory block.
LockHGlobal(nHandle)
Parameters
- nHandle
A handle to a memory block returned from AllocHGlobal.
Note
The handle has to be allocated with the GMEM_MOVEABLE flag.
Return Value
A pointer (numeric) to the locked memory area.
See Also
Reference
AllocHGlobal
AllocMem
AllocMemTo
AMemBlocks
CompactMem
FreeHGlobal
FreeMem
FreePMem
FreeRefArray
ReAllocHGlobal
ReAllocMem
SizeOfMem
UnlockHGlobal
ValidateMem