IThumbnailCache2::GetThumbnailDimensions Method
[This documentation is preliminary and is subject to change.]
Syntax
HRESULT GetThumbnailDimensions( IShellItem *pShellItem, UINT cxyRequestedThumbSize, SIZE *psize );
Parameters
- pShellItem
[in]- cxyRequestedThumbSize
The requested thumbnail size in pixels. This value cannot be larger than 1024.- psize
[out] When this method returns, contains a pointer to a SIZE structure that contains the actual size of the thumbnail.
Return Value
Returns S_OK if successful, or an error value otherwise.