ThumbnailRequestStart(
     DOpusPluginThumbnailRequest*:pReqData
)
→ HANDLE

Arguments

pReqData

[in] Pointer to a DOpusPluginThumbnailRequest structure.

Return value

Returns a request handle. This must be closed with ThumbnailRequestClose.

Description

The ThumbnailRequestStart function starts a request for Opus to generate a thumbnail of a file or folder.

The DOpusPluginThumbnailRequest structure has the following fields:

DPTHUMBREQF_FORVIEWERSet if the thumbnail will be displayed in the Opus viewer or preview pane. Some thumbnail plugins test for this.
DPTHUMBREQF_WANTICONSet if you want an icon (as large as possible) returned if no thumbnail can be generated.
DPTHUMBREQF_ONLYICONSet if you only want an icon, not an actual thumbnail. Implies DPTHUMBREQF_WANTICON. (Not the most efficient way to get lots of icons, but OK for a single file.)

This function is exported from dopus.exe as DOpusPluginThumbnailRequestStart. The helper class names it ThumbnailRequestStart.

This function was added in Directory Opus 13.