VFS_QueryArchiveThumbnails(
HANDLE:hVFSData,
LPCWSTR:lpszPath,
LPVFSQUERYARCHIVETHUMBNAILDATA:lpQueryThumbData
)
→ BOOL
[in,out] Points to a VFSQUERYARCHIVETHUMBNAILDATA structure
| Field | Type | Description |
| cbSize | UINT | [in] Size of the structure |
| iNumFiles | int | [in,out] On input, the maximum number of files that can be provided. On return, the number of files supplied (can be 0) |
| pszFileNames | LPWSTR* | [in,out] Array of pointers to buffers for the filenames |
| cchFileNameMax | int | [in] Maximum size of each buffer |
| dwFlags | DWORD | [out] Flags controlling the appearance of the thumbnail (see below) |
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_SINGLEIMAGE | Provide one single image rather than multiple images |
| VFSQATF_COMICBOOK | Style the image as a comic book cover instead of on a "zip folder" background |
This function was added in Directory Opus 10 (VFSPLUGINVERSION 4).