ThumbnailCacheControl(
LPTHUMBCACHECONTROLDATA:pData
)
→ BOOL
The ThumbnailCacheControl function lets you query or empty the Opus thumbnail cache.
The THUMBCACHECONTROLDATA structure has the following fields:
| TCCOP_GETSIZE | Get total cache size |
| TCCOP_EMPTY | Empty cache (all, specific folder or specific file(s)) |
| TCCOP_COMPACT | Compact cache (not implemented) |
| TCCF_REGENERATE | Regenerate thumbnails for any currently displayed affected files |
| TCCF_NUKELEGACYTHUMBS | Delete any legacy thumbnails found |
| TCCF_REGENERATEONLY | Do not delete anything from the thumbnail cache; just ask all open thumbnail windows to refresh their thumbnails. Useful if your thumbnails are never cached (DVPFIF_NoCache) and you wish to pass NULL for pszPath and pszFileNamePattern. |
| TCCF_DELETEFOLDERTHUMBS | Delete all folder thumbnails |