wpRefresh
Appearance
This instance method is called to force new file system information to be updated.
Syntax
_wpRefresh(somSelf, ulView, pReserved)
Parameters
- somSelf (WPFileSystem *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFileSystem.
- ulView (ULONG) - input
- Flag indicating type of view being refreshed.
- This parameter takes one of the following flags or any other defined refresh view for that class.
- **OPEN_CONTENTS** Refresh contents (icon) view.
- **OPEN_DETAILS** Refresh details view.
- **OPEN_TREE** Refresh tree view.
- pReserved (PVOID) - input
- Reserved; value must be **NULL**.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time to refresh the contents of a folder.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulView; /* Flag indicating type of view being refreshed. */ PVOID pReserved; /* Reserved; value must be NULL. */ BOOL rc; /* Success indicator. */ rc = _wpRefresh(somSelf, ulView, pReserved);