Represents a Windows Imaging Component (WIC) stream for referencing imaging and metadata content.
The IWICStream interface inherits from IStream. IWICStream also has these types of members:
The IWICStream interface has these methods.
|IWICStream::InitializeFromFilename||Initializes a stream from a particular file.|
|IWICStream::InitializeFromIStream||Initializes a stream from another stream. Access rights are inherited from the underlying stream.|
|IWICStream::InitializeFromIStreamRegion||Initializes the stream as a substream of another stream.|
|IWICStream::InitializeFromMemory||Initializes a stream to treat a block of memory as a stream. The stream cannot grow beyond the buffer size.|
Decoders and metadata handlers are expected to create sub streams of whatever stream they hold when handing off control for embedded metadata to another metadata handler. If the stream is not restricted then use MAXLONGLONG as the max size and offset 0.
The IWICStream interface methods do not enable you to provide a file sharing option. To create a file stream for an image, use the SHCreateStreamOnFileEx function. This stream can then be used to create an IWICBitmapDecoder using the CreateDecoderFromStream method.
|Minimum supported client||Windows XP with SP2, Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|