This instance method is called to allow the folder to specify its contents.
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ WPObject *Object; /* Pointer to a workplace object. */ ULONG ulOption; /* Flag indicating the object to query (QC_FIRST, QC_NEXT,QC_LAST). */ WPObject *item; /* Pointer to the correct item in the folder's content list. */ item = _wpQueryContent(somSelf, Object, ulOption);