Export (0) Print
Expand All

IThumbnailCapture::CaptureThumbnail method

Retrieves a thumbnail representation of an IHTMLDocument2 document.

Note  This method is deprecated as of Windows 7. The feature it supported is no longer present in Windows.

Syntax


HRESULT CaptureThumbnail(
  [in]   const SIZE *pMaxSize,
  [in]   IUnknown *pHTMLDoc2,
  [out]  HBITMAP *phbmThumbnail
);

Parameters

pMaxSize [in]

Type: const SIZE*

A pointer to a SIZE structure that specifies the maximum size of the bitmap, in pixels.

pHTMLDoc2 [in]

Type: IUnknown*

A pointer to an IHTMLDocument2 interface's IUnknown interface.

phbmThumbnail [out]

Type: HBITMAP*

A handle to a bitmap that represents the document object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

DLL

Shimgvw.dll

See also

IThumbnailCapture
IHTMLDocument2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft