Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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 Valueparameter.

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

See Also

Reference

IImageDecoder