Partager via


IImageDecoder::SelectActiveFrame (Windows CE 5.0)

Send Feedback

This method is used to select a frame from the current image based on a specified dimension and index number.

HRESULT SelectActiveFrame(  const GUID* dimensionID,  UINT        frameIndex);

Parameters

  • dimensionID
    [in] A pointer to a GUID that specifies the dimension for the image.

    Set this to a multiframe dimension identifier. For more information, see Imaging GUIDs.

  • frameIndex
    [in] A UINT value that specifies the index of the frame within the frame dimension.

Return Values

If successful, this method returns S_OK.

This method may return E_INVALIDARG if it fails.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.

See Also

IImageDecoder | Imaging GUIDs

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.