Partager via


IImageEncoder::GetEncoderParameterListSize (Windows Embedded CE 6.0)

1/6/2010

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.

Remarks

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

See Also

Reference

IImageEncoder
IImageEncoder::GetEncoderParameterList
EncoderParameters