reference:plugins:vfs_plugins:changes_from_version_1

In addition to the filesystem-like functions supported by Directory Opus 8, version 2 of the VFS Plugin API (which requires Directory Opus 9) also offers batch-mode support. This lets a plugin perform an action (eg, add to archive, extract from archive, etc) on multiple files in one go. This is ideal when writing plugins that interface to third-party archiving libraries that only provide simple atomic functions like "extract these files to this location" or "add these files to this archive".

Several new functions have been added to the API as of version 2. They are:

The VFSPLUGININFO structure has several new fields:

  • dwFlags - addition of the VFSF_NONREENTRANT flag value
  • dwOpusVerMajor / dwOpusVerMinor
  • dwInitFlags
  • hIconSmall / hIconLarge

There are three new properties values for VFS_GetProp:

  • VFSPROP_BATCHOPERATION
  • VFSPROP_GETVALIDACTIONS
  • VFSPROP_SHOWPICTURESDIRECTLY

Directory Opus 9 also contains a new Plugin Support API, which consists of a set of helper and utility functions exported directly from the Directory Opus executable. Your plugins can use these functions to interface with Opus and use some of the Opus functionality directly. See the separate Plugin Support API SDK for more information.