IImageDecoder::GetAllPropertyItems (Compact 2013)

3/26/2014

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

This method retrieves all metadata about the image being decoded.

Syntax

HRESULT GetAllPropertyItems(
  UINT          totalBufferSize,
  UINT          numProperties,
  PropertyItem* allItems
);

Parameters

  • totalBufferSize
    [in] A UINT value specifying the size, in bytes, of the allItems buffer.

    Use the IImageDecoder::GetPropertySize method to obtain this information.

  • numProperties
    [in] A UINT value specifying the number of property items associated with the image.

    Use the IImageDecoder::GetPropertySize method to obtain this information.

  • allItems
    [in, out] An array of PropertyItem objects containing the properties associated with this image and the values for those properties.

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
IImageDecoder::GetPropertySize
PropertyItem