This class method enumerates all open folders for the specified class.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPFolder     *somSelf;     /*  Pointer to the WPFolder class object. */
WPFolder       *Folder;      /*  Pointer to a folder object. */
ULONG           ulOption;    /*  Flag indicating the folder to query. */
BOOL            fLock;       /*  Lock the object flag. */
WPFolder       *FldrObject;  /*  Pointer to the specified folder object. */

FldrObject = _wpclsQueryOpenFolders(somSelf,
               Folder, ulOption, fLock);


[Back] [Next]