#include <toolhelp.h> |
WORD GlobalHandleToSel(hglb) | |||
HGLOBAL hglb; |
The GlobalHandleToSel function converts the given handle to a selector.
hglb
Identifies the global memory object to be converted.
The return value is the selector of the given object if the function is successful. Otherwise, it is zero.
The GlobalHandleToSel function converts a global handle to a selector appropriate for Windows, version 3.0 or 3.1, depending on which version is running. A debugging application might use this selector to access a global memory object if the object is not discardable or if the object's attributes are irrelevant.