Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
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 intialized.
- 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 |
| Windows Embedded CE | Windows CE 5.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
IImagingFactory
IImageDecoder
DecoderInitFlag