IShellImageDataFactory::CreateIShellImageData method

Creates an instance of the IShellImageData interface.

Syntax


HRESULT CreateIShellImageData(
  [out] IShellImageData **ppshimg
);

Parameters

ppshimg [out]

Type: IShellImageData**

The address of a pointer to an instance of IShellImageData.

Return value

Type: HRESULT

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

Return codeDescription
E_OUTOFMEMORY

The internal object cannot be instantiated.

E_NOINTERFACE

The internal object does not support IShellImageData.

E_POINTER

The ppshimg parameter is NULL.

 

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

 

 

Show: