IThumbnailStreamCache::SetThumbnailStream method

Sets the thumbnail stream. This method is for internal use only and can only be called by the photos application.

Syntax


HRESULT SetThumbnailStream(
  [in] LPCWSTR   path,
  [in] ULONGLONG cacheId,
  [in] SIZE      thumbnailSize,
  [in] IStream   *thumbnailStream
);

Parameters

path [in]

The path to the thumbnail.

cacheId [in]

The identifier of the thumbnail.

thumbnailSize [in]

The size of the thumbnail.

thumbnailStream [in]

The pointer to the thumbnail stream.

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

Thumbnailstreamcache.h

See also

IThumbnailStreamCache

 

 

Show: