This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method allows for the enumeration of all open folders in the system.
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulOption; /* Flag indicating the type of operation. */ WPObject *Object; /* Pointer to an open folder object. */ Object = _wpQueryOpenFolders(somSelf, ulOption);