IShellItemImageFactory interface

Exposes a method to return either icons or thumbnails for Shell items. If no thumbnail or icon is available for the requested item, a per-class icon may be provided from the Shell.

Members

The IShellItemImageFactory interface inherits from the IUnknown interface. IShellItemImageFactory also has these types of members:

Methods

The IShellItemImageFactory interface has these methods.

MethodDescription
GetImage

Gets an HBITMAP that represents an IShellItem. The default behavior is to load a thumbnail. If there is no thumbnail for the current IShellItem, it retrieves an HBITMAP for the icon of the item. The thumbnail or icon is extracted if it is not currently cached.

 

Remarks

A pointer to this interface is commonly obtained through one of the following functions:

See the Using Image Factory sample for a full example of how to use this interface.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: