Share via


IImageDecoder::SelectActiveFrame (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

If successful, this method returns S_OK.

This method may return E_INVALIDARG if it fails.

Requirements

Header imaging.h
Library Imaging.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IImageDecoder
Imaging GUIDs