GlobalHandle

2.x

  DWORD GlobalHandle(uGlobalSel)    
  UINT uGlobalSel; /* selector of global memory object */

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

Parameters

uGlobalSel

Specifies the selector of a global memory object.

Return Value

The low-order word of the return value contains the handle of the global memory object, and the high-order word contains the selector of the memory object, if the function is successful. The return value is NULL if no handle exists for the memory object.