IImageDecoder::SetDecoderParam (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 value for a parameter of the decoder.

Syntax

HRESULT SetDecoderParam(
  GUID Guid,
  UINT Length,
  PVOID Value
);

Parameters

  • Guid
    [in] A GUID value specifying the decoder parameter whose value will be set.

    Set this value to be a decoder parameter identifier. For more information, see Imaging GUIDs.

  • Length
    [in] A UINT value specifying the size, in bytes, of the data in the Value parameter.
  • Value
    [in] A PVOID value containing the data for the parameter identified by Guid.

Return Value

If successful, this method returns S_OK.

This method may return E_NOTIMPL if it fails.

Requirements

Header

imaging.h

Library

Imaging.lib

See Also

Reference

IImageDecoder