GlobalHandle

  HGLOBAL GlobalHandle(lpvMem)    
  LPVOID lpvMem; /* address of global memory block */

The GlobalHandle function retrieves the handle of the specified global memory block.

Parameters

lpvMem

Points to the first byte of the global memory block.

Return Value

If the function is successful, the return value is the handle for the specified global memory block. Otherwise, the return value is NULL. Use the GetLastError function to obtain extended error information.

See Also

GlobalAlloc, GlobalLock