VFS_GetArchiveCreationInfo(
LPVFSARCHIVECREATIONINFO:lpArchiveInfo
)
→ BOOL
[in,out] Points to a VFSARCHIVECREATIONINFO structure. Opus fills in cbSize and uiFmtIndex; you fill in the information for that format
| Field | Type | Description |
| cbSize | UINT | Size of the structure (filled in by Opus) |
| uiFmtIndex | UINT | Index of the format whose information is required |
| dwFlags | DWORD | Format flags provided by the plugin (see below) |
| pszDefExt | LPWSTR | Buffer for the default extension of the format |
| cchDefExt | UINT | Size of the pszDefExt buffer |
| pszDesc | LPWSTR | Buffer for the description of the format |
| cchDesc | UINT | Size of the pszDesc buffer |
The VFS_GetArchiveCreationInfo function is called to retrieve information about an archive format that your plugin can create.
The following flags can be returned in the dwFlags field:
| VFSACIF_HASDIALOG | A parameter dialog is provided for this format (see VFS_CreateArchiveDialog) |
| VFSACIF_SKIP | Tells Opus to skip this format index and ask for the next one |
Format indexes must be static. If a format is only available some of the time, set VFSACIF_SKIP for its index rather than re-numbering the formats that come after it.
The related plugin flag is VFSF_CANCREATEARCHIVES.
See also VFS_ParseArchiveCreationArgs, VFS_CreateArchiveDialog, VFS_CreateArchive and VFS_FreeArchiveCreationData.
This function was added in Directory Opus 10 (VFSPLUGINVERSION 4).