IImageDecoder::SelectActiveFrame (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

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

See Also

Reference

IImageDecoder
Imaging GUIDs