Share via


IImageDecoder::SetPropertyItem

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

See Also

Reference

IImageDecoder
PropertyItem