Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IImageDecoder::GetThumbnail

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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
);

thumbWidth

[in] An optional UINT value specifying the horizontal size, in pixels, of the thumbnail image. For more information, see the Remarks section.

thumbHeight

[in] An optional UINT value specifying the vertical size, in pixels, of the thumbnail image. For more information, see the Remarks section.

thumbImage

[out] A pointer to the resulting IImage interface 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 thumbWidth and thumbHeight. These values are used only as hints.

If thumbWidth and thumbHeight are set to 0, the decoder determines the thumbnail size.

Headerimaging.h
LibraryImaging.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft