Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Requests an image from an object, such as an item in a Shell folder.
Syntax
HRESULT Extract(
[out] HBITMAP *phBmpThumbnail
);
Parameters
[out] phBmpThumbnail
Type: HBITMAP*
The buffer to hold the bitmapped image.
Return value
Type: HRESULT
Returns S_OK if successful, or a COM-defined error code otherwise.
Remarks
You must call IExtractImage::GetLocation prior to calling Extract.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 4.70 or later) |