kernel32: Stub FindFirstStreamW/FindNextStreamW.
[wine.git] / include / wincodec.idl
blob50d7db762015557bd26bf596f30dc008a6360eb2
1 /*
2 * Copyright 2009 Vincent Povirk for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "wtypes.idl";
20 import "propidl.idl";
21 import "ocidl.idl";
23 cpp_quote ("#include \"dcommon.h\"")
25 cpp_quote("#define WINCODEC_SDK_VERSION 0x0236")
27 #define CODEC_FORCE_DWORD 0x7fffffff
29 typedef enum WICDecodeOptions {
30 WICDecodeMetadataCacheOnDemand = 0x00000000,
31 WICDecodeMetadataCacheOnLoad = 0x00000001,
32 WICMETADATACACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
33 } WICDecodeOptions;
35 typedef enum WICBitmapCreateCacheOption {
36 WICBitmapNoCache = 0x00000000,
37 WICBitmapCacheOnDemand = 0x00000001,
38 WICBitmapCacheOnLoad = 0x00000002,
39 WICBITMAPCREATECACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
40 } WICBitmapCreateCacheOption;
42 typedef enum WICBitmapAlphaChannelOption {
43 WICBitmapUseAlpha = 0x00000000,
44 WICBitmapUsePremultipliedAlpha = 0x00000001,
45 WICBitmapIgnoreAlpha = 0x00000002,
46 WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
47 } WICBitmapAlphaChannelOption;
49 typedef enum WICBitmapDecoderCapabilities {
50 WICBitmapDecoderCapabilitySameEncoder = 0x00000001,
51 WICBitmapDecoderCapabilityCanDecodeAllImages = 0x00000002,
52 WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x00000004,
53 WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x00000008,
54 WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x00000010,
55 } WICBitmapDecoderCapabilities;
57 typedef enum WICBitmapDitherType {
58 WICBitmapDitherTypeNone = 0x00000000,
59 WICBitmapDitherTypeSolid = 0x00000000,
60 WICBitmapDitherTypeOrdered4x4 = 0x00000001,
61 WICBitmapDitherTypeOrdered8x8 = 0x00000002,
62 WICBitmapDitherTypeOrdered16x16 = 0x00000003,
63 WICBitmapDitherTypeSpiral4x4 = 0x00000004,
64 WICBitmapDitherTypeSpiral8x8 = 0x00000005,
65 WICBitmapDitherTypeDualSpiral4x4 = 0x00000006,
66 WICBitmapDitherTypeDualSpiral8x8 = 0x00000007,
67 WICBitmapDitherTypeErrorDiffusion = 0x00000008,
68 WICBITMAPDITHERTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
69 } WICBitmapDitherType;
71 typedef enum WICBitmapEncoderCacheOption {
72 WICBitmapEncoderCacheInMemory = 0x00000000,
73 WICBitmapEncoderCacheTempFile = 0x00000001,
74 WICBitmapEncoderNoCache = 0x00000002,
75 WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
76 } WICBitmapEncoderCacheOption;
78 typedef enum WICBitmapInterpolationMode {
79 WICBitmapInterpolationModeNearestNeighbor = 0x00000000,
80 WICBitmapInterpolationModeLinear = 0x00000001,
81 WICBitmapInterpolationModeCubic = 0x00000002,
82 WICBitmapInterpolationModeFant = 0x00000003,
83 WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD
84 } WICBitmapInterpolationMode;
86 typedef enum WICBitmapLockFlags {
87 WICBitmapLockRead = 0x00000001,
88 WICBitmapLockWrite = 0x00000002,
89 WICBITMAPLOCKFLAGS_FORCE_DWORD = CODEC_FORCE_DWORD
90 } WICBitmapLockFlags;
92 typedef enum WICBitmapPaletteType {
93 WICBitmapPaletteTypeCustom = 0x00000000,
94 WICBitmapPaletteTypeMedianCut = 0x00000001,
95 WICBitmapPaletteTypeFixedBW = 0x00000002,
96 WICBitmapPaletteTypeFixedHalftone8 = 0x00000003,
97 WICBitmapPaletteTypeFixedHalftone27 = 0x00000004,
98 WICBitmapPaletteTypeFixedHalftone64 = 0x00000005,
99 WICBitmapPaletteTypeFixedHalftone125 = 0x00000006,
100 WICBitmapPaletteTypeFixedHalftone216 = 0x00000007,
101 WICBitmapPaletteTypeFixedWebPalette = WICBitmapPaletteTypeFixedHalftone216,
102 WICBitmapPaletteTypeFixedHalftone252 = 0x00000008,
103 WICBitmapPaletteTypeFixedHalftone256 = 0x00000009,
104 WICBitmapPaletteTypeFixedGray4 = 0x0000000A,
105 WICBitmapPaletteTypeFixedGray16 = 0x0000000B,
106 WICBitmapPaletteTypeFixedGray256 = 0x0000000C,
107 WICBITMAPPALETTETYPE_FORCE_DWORD = CODEC_FORCE_DWORD
108 } WICBitmapPaletteType;
110 typedef enum WICBitmapTransformOptions {
111 WICBitmapTransformRotate0 = 0x00000000,
112 WICBitmapTransformRotate90 = 0x00000001,
113 WICBitmapTransformRotate180 = 0x00000002,
114 WICBitmapTransformRotate270 = 0x00000003,
115 WICBitmapTransformFlipHorizontal = 0x00000008,
116 WICBitmapTransformFlipVertical = 0x00000010,
117 WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
118 } WICBitmapTransformOptions;
120 typedef enum WICColorContextType {
121 WICColorContextUninitialized = 0x00000000,
122 WICColorContextProfile = 0x00000001,
123 WICColorContextExifColorSpace = 0x00000002
124 } WICColorContextType;
126 typedef enum WICComponentType {
127 WICDecoder = 0x00000001,
128 WICEncoder = 0x00000002,
129 WICPixelFormatConverter = 0x00000004,
130 WICMetadataReader = 0x00000008,
131 WICMetadataWriter = 0x00000010,
132 WICPixelFormat = 0x00000020,
133 WICCOMPONENTTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
134 } WICComponentType;
136 typedef enum WICComponentSigning {
137 WICComponentSigned = 0x00000001,
138 WICComponentUnsigned = 0x00000002,
139 WICComponentSafe = 0x00000004,
140 WICComponentDisabled = 0x80000000
141 } WICComponentSigning;
143 typedef enum WICComponentEnumerateOptions {
144 WICComponentEnumerateDefault = 0x00000000,
145 WICComponentEnumerateRefresh = 0x00000001,
146 WICComponentEnumerateBuiltInOnly = 0x20000000,
147 WICComponentEnumerateUnsigned = 0x40000000,
148 WICComponentEnumerateDisabled = 0x80000000
149 } WICComponentEnumerateOptions;
151 typedef enum WICJpegYCrCbSubsamplingOption {
152 WICJpegYCrCbSubsamplingDefault = 0x00000000,
153 WICJpegYCrCbSubsampling420 = 0x00000001,
154 WICJpegYCrCbSubsampling422 = 0x00000002,
155 WICJpegYCrCbSubsampling444 = 0x00000003,
156 WICJpegYCrCbSubsampling440 = 0x00000004
157 } WICJpegYCrCbSubsamplingOption;
159 typedef enum WICPixelFormatNumericRepresentation {
160 WICPixelFormatNumericRepresentationUnspecified = 0x00000000,
161 WICPixelFormatNumericRepresentationIndexed = 0x00000001,
162 WICPixelFormatNumericRepresentationUnsignedInteger = 0x00000002,
163 WICPixelFormatNumericRepresentationSignedInteger = 0x00000003,
164 WICPixelFormatNumericRepresentationFixed = 0x00000004,
165 WICPixelFormatNumericRepresentationFloat = 0x00000005,
166 WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD = CODEC_FORCE_DWORD
167 } WICPixelFormatNumericRepresentation;
169 typedef enum WICTiffCompressionOption {
170 WICTiffCompressionDontCare = 0x00000000,
171 WICTiffCompressionNone = 0x00000001,
172 WICTiffCompressionCCITT3 = 0x00000002,
173 WICTiffCompressionCCITT4 = 0x00000003,
174 WICTiffCompressionLZW = 0x00000004,
175 WICTiffCompressionRLE = 0x00000005,
176 WICTiffCompressionZIP = 0x00000006,
177 WICTiffCompressionLZWHDifferencing = 0x00000007,
178 WICTIFFCOMPRESSIONOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
179 } WICTiffCompressionOption;
181 typedef enum WICPngFilterOption {
182 WICPngFilterUnspecified = 0,
183 WICPngFilterNone = 1,
184 WICPngFilterSub = 2,
185 WICPngFilterUp = 3,
186 WICPngFilterAverage = 4,
187 WICPngFilterPaeth = 5,
188 WICPngFilterAdaptive = 6,
189 WICPNFFILTEROPTION_FORCE_DWORD = CODEC_FORCE_DWORD
190 } WICPngFilterOption;
192 typedef enum WICSectionAccessLevel {
193 WICSectionAccessLevelRead = 0x00000001,
194 WICSectionAccessLevelReadWrite = 0x00000003,
195 WICSectionAccessLevel_FORCE_DWORD = CODEC_FORCE_DWORD
196 } WICSectionAccessLevel;
198 typedef GUID WICPixelFormatGUID;
199 typedef REFGUID REFWICPixelFormatGUID;
201 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);")
202 cpp_quote("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare")
204 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);")
205 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);")
206 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);")
207 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);")
209 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05);")
210 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06);")
211 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07);")
212 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08);")
213 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b);")
215 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);")
216 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);")
217 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b,0xf1e6,0x4961,0xad,0x46,0xe1,0xcc,0x81,0x0a,0x87,0xd2);")
218 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);")
219 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0d);")
220 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);")
221 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);")
222 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);")
223 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGB, 0xd98c6b95,0x3efe,0x47d6,0xbb,0x25,0xeb,0x17,0x48,0xab,0x0c,0xf1);")
224 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d,0x6a8d,0x43dd,0xa7,0xa8,0xa2,0x99,0x35,0x26,0x1a,0xe9);")
225 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650,0xa527,0x4d37,0xa9,0x16,0x31,0x42,0xc7,0xeb,0xed,0xba);")
226 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x11);")
228 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15);")
229 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16);")
230 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x17);")
232 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c);")
234 cpp_quote("#if 0")
235 typedef DWORD *D2D1_PIXEL_FORMAT;
236 cpp_quote ("#endif")
238 typedef struct WICRect {
239 INT X;
240 INT Y;
241 INT Width;
242 INT Height;
243 } WICRect;
245 typedef struct WICBitmapPattern {
246 ULARGE_INTEGER Position;
247 ULONG Length;
248 BYTE *Pattern;
249 BYTE *Mask;
250 BOOL EndOfStream;
251 } WICBitmapPattern;
253 typedef struct WICImageParameters
255 D2D1_PIXEL_FORMAT PixelFormat;
256 FLOAT DpiX;
257 FLOAT DpiY;
258 FLOAT Top;
259 FLOAT Left;
260 UINT32 PixelWidth;
261 UINT32 PixelHeight;
262 } WICImageParameters;
264 typedef UINT32 WICColor;
266 interface ID2D1Device;
267 interface ID2D1Image;
268 interface IWICPalette;
271 object,
272 uuid(3c613a02-34b2-44ea-9a7c-45aea9c6fd6d)
274 interface IWICColorContext : IUnknown
276 HRESULT InitializeFromFilename(
277 [in] LPCWSTR wzFilename);
279 HRESULT InitializeFromMemory(
280 [in, size_is(cbBufferSize)] const BYTE *pbBuffer,
281 [in] UINT cbBufferSize);
283 HRESULT InitializeFromExifColorSpace(
284 [in] UINT value);
286 HRESULT GetType(
287 [out] WICColorContextType *pType);
289 HRESULT GetProfileBytes(
290 [in] UINT cbBuffer,
291 [in, out, unique, size_is(cbBuffer)] BYTE *pbBuffer,
292 [out] UINT *pcbActual);
294 HRESULT GetExifColorSpace(
295 [out] UINT *pValue);
299 object,
300 uuid(00000120-a8f2-4877-ba0a-fd2b6645fb94)
302 interface IWICBitmapSource : IUnknown
304 HRESULT GetSize(
305 [out] UINT *puiWidth,
306 [out] UINT *puiHeight);
308 HRESULT GetPixelFormat(
309 [out] WICPixelFormatGUID *pPixelFormat);
311 HRESULT GetResolution(
312 [out] double *pDpiX,
313 [out] double *pDpiY);
315 HRESULT CopyPalette(
316 [in] IWICPalette *pIPalette);
318 HRESULT CopyPixels(
319 [in] const WICRect *prc,
320 [in] UINT cbStride,
321 [in] UINT cbBufferSize,
322 [out, size_is(cbBufferSize)] BYTE *pbBuffer);
326 object,
327 uuid(00000123-a8f2-4877-ba0a-fd2b6645fb94)
329 interface IWICBitmapLock : IUnknown
331 HRESULT GetSize(
332 [out] UINT *pWidth,
333 [out] UINT *pHeight);
335 HRESULT GetStride(
336 [out] UINT *pcbStride);
338 HRESULT GetDataPointer(
339 [out] UINT *pcbBufferSize,
340 [out, size_is(,*pcbBufferSize)] BYTE **ppbData);
342 HRESULT GetPixelFormat(
343 [out] WICPixelFormatGUID *pPixelFormat);
347 object,
348 uuid(5009834f-2d6a-41ce-9e1b-17c5aff7a782)
350 interface IWICBitmapFlipRotator : IWICBitmapSource
352 HRESULT Initialize(
353 [in] IWICBitmapSource *pISource,
354 [in] WICBitmapTransformOptions options);
358 object,
359 uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94)
361 interface IWICBitmap : IWICBitmapSource
363 HRESULT Lock(
364 [in] const WICRect *prcLock,
365 [in] DWORD flags,
366 [out] IWICBitmapLock **ppILock);
368 HRESULT SetPalette(
369 [in] IWICPalette *pIPalette);
371 HRESULT SetResolution(
372 [in] double dpiX,
373 [in] double dpiY);
377 object,
378 uuid(00000040-a8f2-4877-ba0a-fd2b6645fb94)
380 interface IWICPalette : IUnknown
382 HRESULT InitializePredefined(
383 [in] WICBitmapPaletteType ePaletteType,
384 [in] BOOL fAddTransparentColor);
386 HRESULT InitializeCustom(
387 [in, size_is(colorCount)] WICColor *pColors,
388 [in] UINT colorCount);
390 HRESULT InitializeFromBitmap(
391 [in] IWICBitmapSource *pISurface,
392 [in] UINT colorCount,
393 [in] BOOL fAddTransparentColor);
395 HRESULT InitializeFromPalette(
396 [in] IWICPalette *pIPalette);
398 HRESULT GetType(
399 [out] WICBitmapPaletteType *pePaletteType);
401 HRESULT GetColorCount(
402 [out] UINT *pcCount);
404 HRESULT GetColors(
405 [in] UINT colorCount,
406 [out, size_is(colorCount)] WICColor *pColors,
407 [out] UINT *pcActualColors);
409 HRESULT IsBlackWhite(
410 [out] BOOL *pfIsBlackWhite);
412 HRESULT IsGrayscale(
413 [out] BOOL *pfIsGrayscale);
415 HRESULT HasAlpha(
416 [out] BOOL *pfHasAlpha);
420 object,
421 uuid(23bc3f0a-698b-4357-886b-f24d50671334)
423 interface IWICComponentInfo : IUnknown
425 HRESULT GetComponentType(
426 [out] WICComponentType *pType);
428 HRESULT GetCLSID(
429 [out] CLSID *pclsid);
431 HRESULT GetSigningStatus(
432 [out] DWORD *pStatus);
434 HRESULT GetAuthor(
435 [in] UINT cchAuthor,
436 [in, out, unique, size_is(cchAuthor)] WCHAR *wzAuthor,
437 [out] UINT *pcchActual);
439 HRESULT GetVendorGUID(
440 [out] GUID *pguidVendor);
442 HRESULT GetVersion(
443 [in] UINT cchVersion,
444 [in, out, unique, size_is(cchVersion)] WCHAR *wzVersion,
445 [out] UINT *pcchActual);
447 HRESULT GetSpecVersion(
448 [in] UINT cchSpecVersion,
449 [in, out, unique, size_is(cchSpecVersion)] WCHAR *wzSpecVersion,
450 [out] UINT *pcchActual);
452 HRESULT GetFriendlyName(
453 [in] UINT cchFriendlyName,
454 [in, out, unique, size_is(cchFriendlyName)] WCHAR *wzFriendlyName,
455 [out] UINT *pcchActual);
459 object,
460 uuid(30989668-e1c9-4597-b395-458eedb808df)
462 interface IWICMetadataQueryReader : IUnknown
464 HRESULT GetContainerFormat(
465 [out] GUID *pguidContainerFormat);
467 HRESULT GetLocation(
468 [in] UINT cchMaxLength,
469 [in, out, unique, size_is(cchMaxLength)] WCHAR *wzNamespace,
470 [out] UINT *pcchActualLength);
472 HRESULT GetMetadataByName(
473 [in] LPCWSTR wzName,
474 [in, out, unique] PROPVARIANT *pvarValue);
476 HRESULT GetEnumerator(
477 [out] IEnumString **ppIEnumString);
481 object,
482 uuid(a721791a-0def-4d06-bd91-2118bf1db10b)
484 interface IWICMetadataQueryWriter : IWICMetadataQueryReader
486 HRESULT SetMetadataByName(
487 [in] LPCWSTR wzName,
488 [in] const PROPVARIANT *pvarValue);
490 HRESULT RemoveMetadataByName(
491 [in] LPCWSTR wzName);
495 object,
496 uuid(3b16811b-6a43-4ec9-a813-3d930c13b940)
498 interface IWICBitmapFrameDecode : IWICBitmapSource
500 HRESULT GetMetadataQueryReader(
501 [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
503 HRESULT GetColorContexts(
504 [in] UINT cCount,
505 [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
506 [out] UINT *pcActualCount);
508 HRESULT GetThumbnail(
509 [out] IWICBitmapSource **ppIThumbnail);
513 object,
514 uuid(e8eda601-3d48-431a-ab44-69059be88bbe)
516 interface IWICPixelFormatInfo : IWICComponentInfo
518 HRESULT GetFormatGUID(
519 [out] GUID* pFormat);
521 HRESULT GetColorContext(
522 [out] IWICColorContext **ppIColorContext);
524 HRESULT GetBitsPerPixel(
525 [out] UINT *puiBitsPerPixel);
527 HRESULT GetChannelCount(
528 [out] UINT *puiChannelCount);
530 HRESULT GetChannelMask(
531 [in] UINT uiChannelIndex,
532 [in] UINT cbMaskBuffer,
533 [in, out, unique, size_is(cbMaskBuffer)] BYTE *pbMaskBuffer,
534 [out] UINT *pcbActual);
538 object,
539 uuid(a9db33a2-af5f-43c7-b679-74f5984b5aa4)
541 interface IWICPixelFormatInfo2 : IWICPixelFormatInfo
543 HRESULT SupportsTransparency(
544 [out] BOOL *pfSupportsTransparency);
546 HRESULT GetNumericRepresentation(
547 [out] WICPixelFormatNumericRepresentation *pNumericRepresentation);
551 object,
552 uuid(e87a44c4-b76e-4c47-8b09-298eb12a2714)
554 interface IWICBitmapCodecInfo : IWICComponentInfo
556 HRESULT GetContainerFormat(
557 [out] GUID *pguidContainerFormat);
559 HRESULT GetPixelFormats(
560 [in] UINT cFormats,
561 [in, out, unique, size_is(cFormats)] GUID *pguidPixelFormats,
562 [out] UINT *pcActual);
564 HRESULT GetColorManagementVersion(
565 [in] UINT cchColorManagementVersion,
566 [in, out, unique, size_is(cchColorManagementVersion)] WCHAR *wzColorManagementVersion,
567 [out] UINT *pcchActual);
569 HRESULT GetDeviceManufacturer(
570 [in] UINT cchDeviceManufacturer,
571 [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer,
572 [out] UINT *pcchActual);
574 HRESULT GetDeviceModels(
575 [in] UINT cchDeviceModels,
576 [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels,
577 [out] UINT *pcchActual);
579 HRESULT GetMimeTypes(
580 [in] UINT cchMimeTypes,
581 [in, out, unique, size_is(cchMimeTypes)] WCHAR *wzMimeTypes,
582 [out] UINT *pcchActual);
584 HRESULT GetFileExtensions(
585 [in] UINT cchFileExtensions,
586 [in, out, unique, size_is(cchFileExtensions)] WCHAR *wzFileExtensions,
587 [out] UINT *pcchActual);
589 HRESULT DoesSupportAnimation(
590 [out] BOOL *pfSupportAnimation);
592 HRESULT DoesSupportChromaKey(
593 [out] BOOL *pfSupportChromaKey);
595 HRESULT DoesSupportLossless(
596 [out] BOOL *pfSupportLossless);
598 HRESULT DoesSupportMultiframe(
599 [out] BOOL *pfSupportMultiframe);
601 HRESULT MatchesMimeType(
602 [in] LPCWSTR wzMimeType,
603 [out] BOOL *pfMatches);
606 interface IWICBitmapDecoder;
609 object,
610 uuid(d8cd007f-d08f-4191-9bfc-236ea7f0e4b5)
612 interface IWICBitmapDecoderInfo : IWICBitmapCodecInfo
614 [local]
615 HRESULT GetPatterns(
616 [in] UINT cbSizePatterns,
617 [in, out, unique] WICBitmapPattern *pPatterns,
618 [in, out, unique] UINT *pcPatterns,
619 [in, out, unique] UINT *pcbPatternsActual);
621 HRESULT MatchesPattern(
622 [in] IStream *pIStream,
623 [out] BOOL *pfMatches);
625 HRESULT CreateInstance(
626 [out] IWICBitmapDecoder **ppIBitmapDecoder);
630 object,
631 uuid(9edde9e7-8dee-47ea-99df-e6faf2ed44bf)
633 interface IWICBitmapDecoder : IUnknown
635 HRESULT QueryCapability(
636 [in] IStream *pIStream,
637 [out] DWORD *pdwCapability);
639 HRESULT Initialize(
640 [in] IStream *pIStream,
641 [in] WICDecodeOptions cacheOptions);
643 HRESULT GetContainerFormat(
644 [out] GUID *pguidContainerFormat);
646 HRESULT GetDecoderInfo(
647 [out] IWICBitmapDecoderInfo **ppIDecoderInfo);
649 HRESULT CopyPalette(
650 [in] IWICPalette *pIPalette);
652 HRESULT GetMetadataQueryReader(
653 [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
655 HRESULT GetPreview(
656 [out] IWICBitmapSource **ppIBitmapSource);
658 HRESULT GetColorContexts(
659 [in] UINT cCount,
660 [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
661 [out] UINT *pcActualCount);
663 HRESULT GetThumbnail(
664 [out] IWICBitmapSource **ppIThumbnail);
666 HRESULT GetFrameCount(
667 [out] UINT *pCount);
669 HRESULT GetFrame(
670 [in] UINT index,
671 [out] IWICBitmapFrameDecode **ppIBitmapFrame);
675 object,
676 uuid(00000105-a8f2-4877-ba0a-fd2b6645fb94)
678 interface IWICBitmapFrameEncode : IUnknown
680 HRESULT Initialize(
681 [in, unique] IPropertyBag2 *pIEncoderOptions);
683 HRESULT SetSize(
684 [in] UINT uiWidth,
685 [in] UINT uiHeight);
687 HRESULT SetResolution(
688 [in] double dpiX,
689 [in] double dpiY);
691 HRESULT SetPixelFormat(
692 [in, out] WICPixelFormatGUID *pPixelFormat);
694 HRESULT SetColorContexts(
695 [in] UINT cCount,
696 [in, size_is(cCount)] IWICColorContext **ppIColorContext);
698 HRESULT SetPalette(
699 [in] IWICPalette *pIPalette);
701 HRESULT SetThumbnail(
702 [in] IWICBitmapSource *pIThumbnail);
704 HRESULT WritePixels(
705 [in] UINT lineCount,
706 [in] UINT cbStride,
707 [in] UINT cbBufferSize,
708 [in, size_is(cbBufferSize)] BYTE *pbPixels);
710 HRESULT WriteSource(
711 [in] IWICBitmapSource *pIBitmapSource,
712 [in, unique] WICRect *prc);
714 HRESULT Commit();
716 HRESULT GetMetadataQueryWriter(
717 IWICMetadataQueryWriter **ppIMetadataQueryWriter);
720 interface IWICBitmapEncoder;
723 object,
724 uuid(94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb)
726 interface IWICBitmapEncoderInfo : IWICBitmapCodecInfo
728 HRESULT CreateInstance(
729 [out] IWICBitmapEncoder **ppIBitmapEncoder);
733 object,
734 uuid(00000103-a8f2-4877-ba0a-fd2b6645fb94)
736 interface IWICBitmapEncoder : IUnknown
738 HRESULT Initialize(
739 [in] IStream *pIStream,
740 [in] WICBitmapEncoderCacheOption cacheOption);
742 HRESULT GetContainerFormat(
743 [out] GUID *pguidContainerFormat);
745 HRESULT GetEncoderInfo(
746 [out] IWICBitmapEncoderInfo **ppIEncoderInfo);
748 HRESULT SetColorContexts(
749 [in] UINT cCount,
750 [in, size_is(cCount)] IWICColorContext **ppIColorContext);
752 HRESULT SetPalette(
753 [in] IWICPalette *pIPalette);
755 HRESULT SetThumbnail(
756 [in] IWICBitmapSource *pIThumbnail);
758 HRESULT SetPreview(
759 [in] IWICBitmapSource *pIPreview);
761 HRESULT CreateNewFrame(
762 [out] IWICBitmapFrameEncode **ppIFrameEncode,
763 [in, out, unique] IPropertyBag2 **ppIEncoderOptions);
765 HRESULT Commit();
767 HRESULT GetMetadataQueryWriter(
768 [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
772 object,
773 uuid(00000301-a8f2-4877-ba0a-fd2b6645fb94)
775 interface IWICFormatConverter : IWICBitmapSource
777 HRESULT Initialize(
778 [in] IWICBitmapSource *pISource,
779 [in] REFWICPixelFormatGUID dstFormat,
780 [in] WICBitmapDitherType dither,
781 [in] IWICPalette *pIPalette,
782 [in] double alphaThresholdPercent,
783 [in] WICBitmapPaletteType paletteTranslate);
785 HRESULT CanConvert(
786 [in] REFWICPixelFormatGUID srcPixelFormat,
787 [in] REFWICPixelFormatGUID dstPixelFormat,
788 [out] BOOL *pfCanConvert);
792 object,
793 uuid(9f34fb65-13f4-4f15-bc57-3726b5e53d9f)
795 interface IWICFormatConverterInfo : IWICComponentInfo
797 HRESULT GetPixelFormats(
798 [in] UINT cFormats,
799 [in, out, size_is(cFormats)] WICPixelFormatGUID *pPixelFormatGUIDs,
800 [out] UINT *pcActual);
802 HRESULT CreateInstance(
803 [out] IWICFormatConverter **ppIConverter);
807 object,
808 uuid(135ff860-22b7-4ddf-b0f6-218f4f299a43)
810 interface IWICStream : IStream
812 HRESULT InitializeFromIStream(
813 [in] IStream *pIStream);
815 HRESULT InitializeFromFilename(
816 [in] LPCWSTR wzFileName,
817 [in] DWORD dwAccessMode);
819 HRESULT InitializeFromMemory(
820 [in, size_is(cbBufferSize)] BYTE *pbBuffer,
821 [in] DWORD cbBufferSize);
823 HRESULT InitializeFromIStreamRegion(
824 [in] IStream *pIStream,
825 [in] ULARGE_INTEGER ulOffset,
826 [in] ULARGE_INTEGER ulMaxSize);
830 object,
831 uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94)
833 interface IWICBitmapScaler : IWICBitmapSource
835 HRESULT Initialize(
836 [in] IWICBitmapSource *pISource,
837 [in] UINT uiWidth,
838 [in] UINT uiHeight,
839 [in] WICBitmapInterpolationMode mode);
843 object,
844 uuid(e4fbcf03-223d-4e81-9333-d635556dd1b5)
846 interface IWICBitmapClipper : IWICBitmapSource
848 HRESULT Initialize(
849 [in] IWICBitmapSource *pISource,
850 [in] const WICRect *prc);
854 object,
855 uuid(b66f034f-d0e2-40ab-b436-6de39e321a94)
857 interface IWICColorTransform : IWICBitmapSource
859 HRESULT Initialize(
860 [in] IWICBitmapSource *pIBitmapSource,
861 [in] IWICColorContext *pIContextSource,
862 [in] IWICColorContext *pIContextDest,
863 [in] REFWICPixelFormatGUID pixelFmtDest);
867 object,
868 uuid(b84e2c09-78c9-4ac4-8bd3-524ae1663a2f)
870 interface IWICFastMetadataEncoder : IUnknown
872 HRESULT Commit();
874 HRESULT GetMetadataQueryWriter(
875 [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
879 object,
880 uuid(04c75bf8-3ce1-473b-acc5-3cc4f5e94999),
881 local
883 interface IWICImageEncoder : IUnknown
885 HRESULT WriteFrame(
886 [in] ID2D1Image *image,
887 [in] IWICBitmapFrameEncode *encode,
888 [in, unique] const WICImageParameters *parameters);
890 HRESULT WriteFrameThumbnail(
891 [in] ID2D1Image *image,
892 [in] IWICBitmapFrameEncode *encode,
893 [in, unique] const WICImageParameters *parameters);
895 HRESULT WriteThumbnail(
896 [in] ID2D1Image *image,
897 [in] IWICBitmapEncoder *encoder,
898 [in, unique] const WICImageParameters *parameters);
901 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
902 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory1, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
903 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory2, 0x317d06e8,0x5f24,0x433d,0xbd,0xf7,0x79,0xce,0x68,0xd8,0xab,0xc2);")
906 object,
907 uuid(ec5ec8a9-c395-4314-9c77-54d7a935ff70)
909 interface IWICImagingFactory : IUnknown
911 HRESULT CreateDecoderFromFilename(
912 [in] LPCWSTR wzFilename,
913 [in, unique] const GUID *pguidVendor,
914 [in] DWORD dwDesiredAccess,
915 [in] WICDecodeOptions metadataOptions,
916 [out, retval] IWICBitmapDecoder **ppIDecoder);
918 HRESULT CreateDecoderFromStream(
919 [in] IStream *pIStream,
920 [in, unique] const GUID *pguidVendor,
921 [in] WICDecodeOptions metadataOptions,
922 [out, retval] IWICBitmapDecoder **ppIDecoder);
924 HRESULT CreateDecoderFromFileHandle(
925 [in] ULONG_PTR hFile,
926 [in, unique] const GUID *pguidVendor,
927 [in] WICDecodeOptions metadataOptions,
928 [out, retval] IWICBitmapDecoder **ppIDecoder);
930 HRESULT CreateComponentInfo(
931 [in] REFCLSID clsidComponent,
932 [out] IWICComponentInfo **ppIInfo);
934 HRESULT CreateDecoder(
935 [in] REFGUID guidContainerFormat,
936 [in, unique] const GUID *pguidVendor,
937 [out, retval] IWICBitmapDecoder **ppIDecoder);
939 HRESULT CreateEncoder(
940 [in] REFGUID guidContainerFormat,
941 [in, unique] const GUID *pguidVendor,
942 [out, retval] IWICBitmapEncoder **ppIEncoder);
944 HRESULT CreatePalette(
945 [out] IWICPalette **ppIPalette);
947 HRESULT CreateFormatConverter(
948 [out] IWICFormatConverter **ppIFormatConverter);
950 HRESULT CreateBitmapScaler(
951 [out] IWICBitmapScaler **ppIBitmapScaler);
953 HRESULT CreateBitmapClipper(
954 [out] IWICBitmapClipper **ppIBitmapClipper);
956 HRESULT CreateBitmapFlipRotator(
957 [out] IWICBitmapFlipRotator **ppIBitmapFlipRotator);
959 HRESULT CreateStream(
960 [out] IWICStream **ppIWICStream);
962 HRESULT CreateColorContext(
963 [out] IWICColorContext **ppIWICColorContext);
965 HRESULT CreateColorTransformer(
966 [out] IWICColorTransform **ppIWICColorTransform);
968 HRESULT CreateBitmap(
969 [in] UINT uiWidth,
970 [in] UINT uiHeight,
971 [in] REFWICPixelFormatGUID pixelFormat,
972 [in] WICBitmapCreateCacheOption option,
973 [out] IWICBitmap **ppIBitmap);
975 HRESULT CreateBitmapFromSource(
976 [in] IWICBitmapSource *piBitmapSource,
977 [in] WICBitmapCreateCacheOption option,
978 [out] IWICBitmap **ppIBitmap);
980 HRESULT CreateBitmapFromSourceRect(
981 [in] IWICBitmapSource *piBitmapSource,
982 [in] UINT x,
983 [in] UINT y,
984 [in] UINT width,
985 [in] UINT height,
986 [out] IWICBitmap **ppIBitmap);
988 HRESULT CreateBitmapFromMemory(
989 [in] UINT uiWidth,
990 [in] UINT uiHeight,
991 [in] REFWICPixelFormatGUID pixelFormat,
992 [in] UINT cbStride,
993 [in] UINT cbBufferSize,
994 [in, size_is(cbBufferSize)] BYTE *pbBuffer,
995 [out] IWICBitmap **ppIBitmap);
997 HRESULT CreateBitmapFromHBITMAP(
998 [in] HBITMAP hBitmap,
999 [in, unique] HPALETTE hPalette,
1000 [in] WICBitmapAlphaChannelOption options,
1001 [out] IWICBitmap **ppIBitmap);
1003 HRESULT CreateBitmapFromHICON(
1004 [in] HICON hIcon,
1005 [out] IWICBitmap **ppIBitmap);
1007 HRESULT CreateComponentEnumerator(
1008 [in] DWORD componentTypes,
1009 [in] DWORD options,
1010 [out] IEnumUnknown **ppIEnumUnknown);
1012 HRESULT CreateFastMetadataEncoderFromDecoder(
1013 [in] IWICBitmapDecoder *pIDecoder,
1014 [out] IWICFastMetadataEncoder **ppIFastEncoder);
1016 HRESULT CreateFastMetadataEncoderFromFrameDecode(
1017 [in] IWICBitmapFrameDecode *pIFrameDecoder,
1018 [out] IWICFastMetadataEncoder **ppIFastEncoder);
1020 HRESULT CreateQueryWriter(
1021 [in] REFGUID guidMetadataFormat,
1022 [in, unique] const GUID *pguidVendor,
1023 [out] IWICMetadataQueryWriter **ppIQueryWriter);
1025 HRESULT CreateQueryWriterFromReader(
1026 [in] IWICMetadataQueryReader *pIQueryReader,
1027 [in, unique] const GUID *pguidVendor,
1028 [out] IWICMetadataQueryWriter **ppIQueryWriter);
1032 object,
1033 uuid(7b816b45-1996-4476-b132-de9e247c8af0),
1034 local
1036 interface IWICImagingFactory2 : IWICImagingFactory
1038 HRESULT CreateImageEncoder(
1039 [in] ID2D1Device *device,
1040 [out] IWICImageEncoder **encoder);
1044 local,
1045 object,
1046 uuid(dc2bb46d-3f07-481e-8625-220c4aedbb33)
1048 interface IWICEnumMetadataItem : IUnknown
1050 HRESULT Next(
1051 [in] ULONG celt,
1052 [in, out, unique, size_is(celt)] PROPVARIANT *rgeltSchema,
1053 [in, out, size_is(celt)] PROPVARIANT *rgeltId,
1054 [in, out, optional, size_is(celt)] PROPVARIANT *rgeltValue,
1055 [out, optional] ULONG *pceltFetched);
1057 HRESULT Skip(
1058 [in] ULONG celt);
1060 HRESULT Reset();
1062 HRESULT Clone(
1063 [out] IWICEnumMetadataItem **ppIEnumMetadataItem);
1066 cpp_quote("HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);")
1067 cpp_quote("HRESULT WINAPI WICCreateBitmapFromSection(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, IWICBitmap **bitmap);")
1068 cpp_quote("HRESULT WINAPI WICCreateBitmapFromSectionEx(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel access, IWICBitmap **bitmap);")
1070 cpp_quote("HRESULT WINAPI WICMapGuidToShortName(REFGUID,UINT,WCHAR *,UINT *);")
1071 cpp_quote("HRESULT WINAPI WICMapShortNameToGuid(PCWSTR,GUID *);")
1072 cpp_quote("HRESULT WINAPI WICMapSchemaToName(REFGUID,LPWSTR,UINT,WCHAR *,UINT *);")
1074 cpp_quote("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);")
1075 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);")
1076 cpp_quote("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);")
1077 cpp_quote("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);")
1078 cpp_quote("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);")
1079 cpp_quote("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);")
1080 cpp_quote("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);")
1082 cpp_quote("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);")
1083 cpp_quote("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);")
1084 cpp_quote("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);")
1085 cpp_quote("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);")
1086 cpp_quote("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);")
1087 cpp_quote("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);")
1089 cpp_quote("DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1);")
1091 cpp_quote("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);")
1092 cpp_quote("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);")
1093 cpp_quote("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);")
1094 cpp_quote("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);")
1095 cpp_quote("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);")
1096 cpp_quote("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);")
1097 cpp_quote("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);")
1099 cpp_quote("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);")
1101 cpp_quote("DEFINE_GUID(CLSID_WICImagingCategories, 0xfae3d380,0xfea4,0x4623,0x8c,0x75,0xc6,0xb6,0x11,0x10,0xb6,0x81);")
1102 cpp_quote("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);")
1103 cpp_quote("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);")
1104 cpp_quote("DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48);")
1105 cpp_quote("DEFINE_GUID(CATID_WICMetadataReader, 0x05af94d8,0x7174,0x4cd2,0xbe,0x4a,0x41,0x24,0xb8,0x0e,0xe4,0xb8);")
1106 cpp_quote("DEFINE_GUID(CATID_WICPixelFormats, 0x2b46e70f,0xcda7,0x473e,0x89,0xf6,0xdc,0x96,0x30,0xa2,0x39,0x0b);")