VFS_QueryArchiveThumbnails(
     HANDLE:hVFSData,
     LPCWSTR:lpszPath,
     LPVFSQUERYARCHIVETHUMBNAILDATA:lpQueryThumbData
)
→ BOOL

Arguments

hVFSData

[in] The handle to the namespace instance data

lpszPath

[in] Path of the archive

lpQueryThumbData

[in,out] Points to a VFSQUERYARCHIVETHUMBNAILDATA structure

FieldTypeDescription
cbSizeUINT[in] Size of the structure
iNumFilesint[in,out] On input, the maximum number of files that can be provided. On return, the number of files supplied (can be 0)
pszFileNamesLPWSTR*[in,out] Array of pointers to buffers for the filenames
cchFileNameMaxint[in] Maximum size of each buffer
dwFlagsDWORD[out] Flags controlling the appearance of the thumbnail (see below)

Description

The VFS_QueryArchiveThumbnails function is called to get the names of files to use when generating the thumbnail for an archive.

The following flags can be returned in the dwFlags field:

VFSQATF_SINGLEIMAGEProvide one single image rather than multiple images
VFSQATF_COMICBOOKStyle the image as a comic book cover instead of on a "zip folder" background

This function was added in Directory Opus 10 (VFSPLUGINVERSION 4).