Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IShellImageData::GetSize method

Gets the dimensions of the image file.

Syntax


HRESULT GetSize(
  [out] SIZE *pSize
);

Parameters

pSize [out]

Type: SIZE*

A pointer to a SIZE structure containing the size of the image. This value is valid only when the method returns S_OK.

Return value

Type: HRESULT

Returns S_OK if successful or an error value otherwise, including the following:

Return codeDescription
E_FAIL

The image has not been decoded or the decoding process failed.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shimgdata.h

IDL

Shimgdata.idl

DLL

Shell32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft