IImageEncoder::GetEncoderParameterListSize (Windows CE 5.0)
This method is used to obtain the total size, in bytes, of all parameters associated with this image encoder.
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 Values
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
OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.
See Also
IImageEncoder | IImageEncoder::GetEncoderParameterList | EncoderParameters
Send Feedback on this topic to the authors