WTS_CONTEXTFLAGS Enumeration

Specifies the context of a thumbnail extraction. Used by IThumbnailSettings::SetContext.

Your thumbnail provider will set this flag based on the WTS_FLAGS values that it received through the IThumbnailProvider::GetThumbnail request.

Syntax

typedef enum WTS_CONTEXTFLAGS {
  WTSCF_DEFAULT,
  WTSCF_APPSTYLE,
  WTSCF_SQUARE,
  WTSCF_WIDE,
  WTSCF_FAST
} ;

Constants

WTSCF_DEFAULT None of the following options are set. Set in response to WTS_NONE.
WTSCF_APPSTYLE Provide a thumbnail suitable to the Windows Store app UX guidelines. Set in response to WTS_APPSTYLE.
WTSCF_SQUARE If necessary, crop the bitmap's dimensions so that is square. The length of the shortest side becomes the length of all sides. Set in response to WTS_CROPTOSQUARE.
WTSCF_WIDE Stretch and crop the bitmap so that its height is 0.7 times its width. Set in response to WTS_WIDETHUMBNAILS.
WTSCF_FAST If not cached, only extract the thumbnail if it is embedded in EXIF format, typically 96x96. Set in response to WTS_FASTEXTRACT.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header thumbcache.h