Export (0) Print
Expand All

IImagingFactory::CreateImageDecoder (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This method creates and initializes an IImageDecoder interface you can use to process the specified input data stream.

HRESULT CreateImageDecoder(
  IStream*        stream,
  DecoderInitFlag flags,
  IImageDecoder** decoder
);

Parameters

stream
[in] A pointer to an IStream:IUnknown interface for the stream of input data.
flags
[in] A DecoderInitFlag enumeration value indicating how the image decoder should be intialized.
decoder
[out] A pointer to the resulting IImageDecoder interface pointer.

Return Values

If successful, this method returns S_OK.

This method may return E_POINTER if it fails.

Remarks

This method locates the appropriate decoder based on the header bytes in the input data stream.

Requirements

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

See Also

IImagingFactory | IImageDecoder | IStream:IUnknown | DecoderInitFlag


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft