GlobalHandle

Syntax

DWORD GlobalHandle(wMem)

This function retrieves the handle of the global memory object whose segment address or selector is specified by the wMem parameter.

Parameter Type/Description  

wMem WORD Specifies an unsigned integer value that gives the segment address or selector of a global memory object.  

Return Value

The low-order word of the return value specifies the handle of the global memory object. The high-order word of the return value specifies the segment address or selector of the memory object. The return value is NULL if no handle exists for the memory object.