IImagingFactory::CreateImageDecoder (Compact 2013)
3/26/2014
This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.
This method creates and initializes an IImageDecoder interface you can use to process the specified input data stream.
Syntax
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 initialized.
- decoder
[out] A pointer to the resulting IImageDecoder interface pointer.
Return Value
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
Header |
imaging.h |
Library |
Imaging.lib |
See Also
Reference
IImagingFactory
IImageDecoder
DecoderInitFlag