IImagingFactory::CreateImageEncoderToFile (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This method creates and initializes an IImageEncoder interface to output to a file in a specified image format.

HRESULT CreateImageEncoderToFile(
  const CLSID*    clsid,
  const WCHAR*    filename,
  IImageEncoder** encoder


[in] A pointer to a CLSID value that specifies the encoder's COM component.
[in] A WCHAR array containing the name of the output file.
[out] A pointer to the resulting IImageEncoder interface pointer.

Return Values

If successful, this method returns S_OK.

This method may return E_POINTER if it fails.


OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.

See Also

IImagingFactory | IImageEncoder

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.