Share via


IImageEncoder::GetEncoderParameterListSize (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 obtain the total size, in bytes, of all parameters associated with this image encoder.

Syntax

HRESULT GetEncoderParameterListSize(
  UINT* size
);

Parameters

  • size
    [out] A pointer to a UINT value that receives the size, in bytes, of the parameter list associated with this image encoder.

Return Value

If successful, this method returns S_OK.

This method may return E_NOTIMPL if it fails.

Code Example

The following code illustrates how an application might use this method.

GetEncoderParameterListSize(&size)
ParameterListPointer = CoTaskMemAlloc(size)
GetEncoderParameterList(size, ParameterListPointer)

Requirements

Header

imaging.h

Library

Imaging.lib

See Also

Reference

IImageEncoder
IImageEncoder::GetEncoderParameterList
EncoderParameters