VFS_GetArchiveCreationInfo(
     LPVFSARCHIVECREATIONINFO:lpArchiveInfo
)
→ BOOL

Arguments

lpArchiveInfo

[in,out] Points to a VFSARCHIVECREATIONINFO structure. Opus fills in cbSize and uiFmtIndex; you fill in the information for that format

FieldTypeDescription
cbSizeUINTSize of the structure (filled in by Opus)
uiFmtIndexUINTIndex of the format whose information is required
dwFlagsDWORDFormat flags provided by the plugin (see below)
pszDefExtLPWSTRBuffer for the default extension of the format
cchDefExtUINTSize of the pszDefExt buffer
pszDescLPWSTRBuffer for the description of the format
cchDescUINTSize of the pszDesc buffer

Description

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_HASDIALOGA parameter dialog is provided for this format (see VFS_CreateArchiveDialog)
VFSACIF_SKIPTells 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).