HGLOBAL GlobalHandle(lpvMem) | |||||
LPVOID lpvMem; | /* address of global memory block | */ |
The GlobalHandle function retrieves the handle of the specified global memory block.
lpvMem
Points to the first byte of the global memory block.
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.
GlobalAlloc, GlobalLock