Jump to content

wpContainsFolders

From EDM2
Revision as of 19:43, 1 September 2025 by Martini (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);

Related Methods