This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method is called when a work area folder is closed. It saves a list of the objects within the work area folder that are open when the work area folder is closed. It then closes all open views of these objects.
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulType; /* Folder type flag. */ BOOL rc; /* Success indicator */ rc = _wpStoreFldrRunObjs(somSelf, ulType);