This topic has not yet been rated - Rate this topic

IImagingFactory::CreateImageEncoderToStream

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


HRESULT CreateImageEncoderToStream(
  const CLSID*    clsid,
  IStream*        stream,
  IImageEncoder** encoder
);
clsid

[in] A pointer to a CLSID value that specifies the encoder's COM component.

stream

[in] A pointer to an IStream interface representing the output data stream.

encoder

[out] A pointer to the resulting IImageEncoder interface pointer.

If successful, this method returns S_OK.

This method may return IMGERR_CODECNOTFOUND if it fails.

For more information, see Error Codes for the Imaging API.

Headerimaging.h
LibraryImaging.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.