This method is specific to version 3, or higher, of the OS/2 operating system.
This method is used by find pushbuttons to find an object matching a predefined set of properties.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ HWND hwndOwner; /* Handle of the owner window for the dialogs. */ PSZ pszFindParams; /* Setup string which defines the properties of an object. */ WPObject *Object; /* Pointer to the found object. */ Object = _wpclsFindOneObject(somSelf, hwndOwner, pszFindParams);