LocalHandle

  HLOCAL LocalHandle(lpvMem)    
  LPVOID lpvMem; /* address of local memory block */

The LocalHandle function retrieves the handle of the specified local memory block.

Parameters

lpvMem

Points to the first byte of the local memory block.

Return Value

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

See Also

LocalAlloc, LocalLock