WpContainsFolders: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpContainsFolders}} 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. ==Syntax== _wpContainsFolders(somSelf, pfSubFolders) ==Parameters== ;''somSelf'' (WPFolder *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFolder. ;''pfSubFolders'' (BOOL *) - output :Flag indicating whether the folde..." |
No edit summary |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
_wpContainsFolders(somSelf, pfSubFolders) | _wpContainsFolders(somSelf, pfSubFolders) | ||
==Parameters== | ==Parameters== |
Latest revision as of 19:43, 1 September 2025
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.
Syntax
_wpContainsFolders(somSelf, pfSubFolders)
Parameters
- somSelf (WPFolder *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFolder.
- pfSubFolders (BOOL *) - output
- Flag indicating whether the folder contains subfolders.
- TRUE: The folder contains subfolders.
- FALSE: The folder does not contain subfolders.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE: Successful completion.
- FALSE: Error occurred.
How to Override
This method is generally not overridden.
Example Code
#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);