GlobalLock function Null safety kernel32

Pointer<NativeType> GlobalLock(
  1. int hMem
)

Locks a global memory object and returns a pointer to the first byte of the object's memory block.

LPVOID GlobalLock(
  HGLOBAL hMem
);

Implementation

Pointer GlobalLock(int hMem) => _GlobalLock(hMem);