This method is called to find the next set of matching objects.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ HFIND hfind; /* Handle associated with a previous wpclsFindObjectFirst or wpclsFindObjectNext method call. */ POBJECT pBuffer; /* Pointer to a buffer that contains an array of object pointers. */ PULONG pCount; /* Address of the number of matching entries requested in pBuffer. */ BOOL rc; /* Success indicator. */ rc = _wpclsFindObjectNext(somSelf, hfind, pBuffer, pCount);