|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This method asks the decoder for a thumbnail of the current image. If the image does not contain thumbnail data, the decoder returns an error code.
HRESULT GetThumbnail( OPTIONAL UINT thumbWidth, OPTIONAL UINT thumbHeight, IImage** thumbImage );
[in] An optional UINT value specifying the horizontal size, in pixels, of the thumbnail image. For more information, see the Remarks section.
[in] An optional UINT value specifying the vertical size, in pixels, of the thumbnail image. For more information, see the Remarks section.
[out] A pointer to the resulting IImageinterface pointer for the thumbnail image.
If successful, this method returns S_OK.
This method may return E_NOTIMPL if it fails.
The decoder is not required to return a thumbnail image with the exact dimensions specified by thumbWidthand thumbHeight. These values are used only as hints.
If thumbWidthand thumbHeightare set to 0, the decoder determines the thumbnail size.
|Windows Embedded CE||Windows CE 5.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|