The WinQueryObject function returns a handle to the given object.

#define INCL_WINWORKPLACE
#include <os2.h>

PSZ        pObjectID;  /*  The object ID of an existing object. */
HOBJECT    hObject;    /*  MRESULT. */

hObject = WinQueryObject(pObjectID);


[Back] [Next]