GetThumbnailPrefs(
     LPDOPUSTHUMBNAILPREFSDATA:lpTPD
)
→ BOOL

Arguments

lpTPD

[in,out] Pointer to a DOPUSTHUMBNAILPREFSDATA structure

Return value

Returns TRUE if the thumbnail preferences were successfully retrieved, or FALSE on failure.

Description

The GetThumbnailPrefs function lets you retrieve information about the user's current thumbnail Preferences settings.

The DOPUSTHUMBNAILPREFSDATA structure contains the following fields:

DTHUMBF_GRAYSCALEDisplay JPEG thumbnails as grayscale
DTHUMBF_SHOWICONShow filetype icon in the corner of thumbnails
DTHUMBF_HIDEICONHide filetype icon for unregistered filetypes
DTHUMBF_USESHELLUse shell image extraction
DTHUMBF_HIGHQUALITYHigh-quality scaling
DTHUMBF_FOLDERSDisplay folder thumbnails
DTHUMBF_FOLDERCONTENTSGenerate folder thumbnails from folder contents
DTHUMBF_AUTOROTATEAuto-rotate using EXIF information