ThumbnailStreamCacheOptions enumeration (thumbnailstreamcache.h)

Defines the cache options used by the IThumbnailStreamCache interface.

Syntax

typedef enum ThumbnailStreamCacheOptions {
  ExtractIfNotCached = 0,
  ReturnOnlyIfCached = 0x1,
  ResizeThumbnail = 0x2,
  AllowSmallerSize = 0x4
} ;

Constants

 
ExtractIfNotCached
Value: 0
Return the cached thumbnail if it is already cached, otherwise extract the thumbnail to the cache.
ReturnOnlyIfCached
Value: 0x1
Return the thumbnail only if it is already cached.
ResizeThumbnail
Value: 0x2
Resize the thumbnail to match the requested size.
AllowSmallerSize
Value: 0x4
Can return a cached thumbnail that is smaller than the requested size.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header thumbnailstreamcache.h

See also

IThumbnailStreamCache