IThumbnailCacheGetThumbnail Method

Gets a cached thumbnail for a given Shell item.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
HResult GetThumbnail(
	IShellItem shellItem,
	uint requestedThumbSize,
	ThumbnailFlags flags,
	out ISharedBitmap refThumb,
	out ThumbnailCacheFlags refOutFlags,
	out ThumbnailId refThumbnailId
)

Parameters

shellItem  IShellItem
A pointer to the Shell item for which to retrieve a thumbnail.
requestedThumbSize  UInt32
The requested thumbnail size in pixels.

The maximum value is 1024.

flags  ThumbnailFlags
Specifies options for the extraction and display of a thumbnail image.
refThumb  ISharedBitmap
The address of an ISharedBitmap pointer that, when this method returns successfully, receives the object used to access the thumbnail.

This parameter may be NULL.

refOutFlags  ThumbnailCacheFlags
A pointer to a value that, when this method returns successfully, receives a combination of ThumbnailCacheFlags flags.
refThumbnailId  ThumbnailId

[Missing <param name="refThumbnailId"/> documentation for "M:DevCase.Win32.Interfaces.IThumbnailCache.GetThumbnail(DevCase.Win32.Interfaces.IShellItem,System.UInt32,DevCase.Win32.Enums.ThumbnailFlags,DevCase.Win32.Interfaces.ISharedBitmap@,DevCase.Win32.Enums.ThumbnailCacheFlags@,DevCase.Win32.Structures.ThumbnailId@)"]

Return Value

HResult
If the method succeeds, it returns S_OK. If it fails, it returns an HResult value.

Remarks

See Also