This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method determines whether the folder contains any subfolders.
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL *pfSubFolders; /* Flag indicating whether the folder contains subfolders. */ BOOL rc; /* Success indicator. */ rc = _wpContainsFolders(somSelf, pfSubFolders);