This example saves the state of all open objects in a work area folder and closes all open views of the folder.
_wpStoreFldrRunObjs(WorkAreaFolder,CLOSE_FOLDER);