IShellImageData::NextFrame method

Switches to the next frame of an animated image.

Syntax


HRESULT NextFrame();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Return codeDescription
E_FAIL

The current frame cannot be retrieved.

S_FALSE

The image is not animated, the image has not yet been decoded, or a limit on the number of times to loop the animation has been reached.

E_PENDING

The next frame is not yet available.

E_NOMOREDATA

No further data is available.

 

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