This instance method is called to delete the contents of a folder.
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG fConfirmations; /* Confirmation flags. */ ULONG rc; /* Success indicator. */ rc = _wpDeleteContents(somSelf, fConfirmations);