IThumbnailStreamCache::GetThumbnailStream method
Gets the thumbnail stream. This method is for internal use only and can only be called by the photos application.
Syntax
HRESULT GetThumbnailStream( [in] LPCWSTR path, [in] ULONGLONG cacheId, [in] ThumbnailStreamCacheOptions options, [in] UINT requestedThumbnailSize, [out] SIZE *thumbnailSize, [out] IStream **thumbnailStream );
Parameters
- path [in]
-
The path to the thumbnail.
- cacheId [in]
-
The identifier of the thumbnail.
- options [in]
-
The cache options for the thumbnail stream.
- requestedThumbnailSize [in]
-
The requested size of the thumbnail.
- thumbnailSize [out]
-
The actual size of the returned thumbnail.
- thumbnailStream [out]
-
The requested thumbnail.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|
See also