Partager via


IImageDecoder::GetAllPropertyItems

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IImageDecoder
IImageDecoder::GetPropertySize
PropertyItem