CComPtr<IStream> stream; // Create stream object here ... HR(decoder->Initialize( stream, WICDecodeMetadataCacheOnDemand)); I'll discuss streams later in this article, but IStream is just the traditional COM stream interface used by many APIs including the XmlLite parser I covered in the April 2007 issue of MSDN® Magazine (msdn.microsoft.com/msdnmag/issues/07/04/Xml). The second parameter to the I
![Windows と C++: Windows Imaging Component の基礎](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)