IPhotoAcquireItem::GetThumbnail method (photoacquire.h)

The GetThumbnail method retrieves the thumbnail provided for an item.

Syntax

HRESULT GetThumbnail(
  [in]  SIZE    sizeThumbnail,
  [out] HBITMAP *phbmpThumbnail
);

Parameters

[in] sizeThumbnail

Specifies the size of the thumbnail.

[out] phbmpThumbnail

Specifies a handle to the thumbnail bitmap.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireItem Interface