IImageDecoder::SetPropertyItem (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 set a property item for the current image in the decoder. If the item exists, its contents are updated; otherwise, a new item is added.

Syntax

HRESULT SetPropertyItem(
  PropertyItem item
);

Parameters

  • item
    [in] A PropertyItem object containing data for the property item.

Return Value

If successful, this method returns S_OK.

If it fails, this method should return one of the following error values:

  • E_FAIL
  • E_OUTOFMEMORY

For more information, see Error Codes for the Imaging API.

Requirements

Header

imaging.h

Library

Imaging.lib

See Also

Reference

IImageDecoder
PropertyItem