secur32: Add support for NameFullyQualifiedDN to GetComputerObjectName.
[wine.git] / include / wincodec.idl
blobf2c5a9e62696879bb6100b51cff3d5e1513e30a8
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 GUID WICPixelFormatGUID;
193 typedef REFGUID REFWICPixelFormatGUID;
195 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);")
196 cpp_quote("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare")
198 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);")
199 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);")
200 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);")
201 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);")
203 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05);")
204 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06);")
205 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07);")
206 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08);")
207 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b);")
209 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);")
210 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);")
211 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b,0xf1e6,0x4961,0xad,0x46,0xe1,0xcc,0x81,0x0a,0x87,0xd2);")
212 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);")
213 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0d);")
214 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);")
215 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);")
216 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);")
217 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGB, 0xd98c6b95,0x3efe,0x47d6,0xbb,0x25,0xeb,0x17,0x48,0xab,0x0c,0xf1);")
218 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d,0x6a8d,0x43dd,0xa7,0xa8,0xa2,0x99,0x35,0x26,0x1a,0xe9);")
219 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650,0xa527,0x4d37,0xa9,0x16,0x31,0x42,0xc7,0xeb,0xed,0xba);")
220 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x11);")
222 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15);")
223 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16);")
224 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x17);")
226 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c);")
228 cpp_quote("#if 0")
229 typedef DWORD *D2D1_PIXEL_FORMAT;
230 cpp_quote ("#endif")
232 typedef struct WICRect {
233 INT X;
234 INT Y;
235 INT Width;
236 INT Height;
237 } WICRect;
239 typedef struct WICBitmapPattern {
240 ULARGE_INTEGER Position;
241 ULONG Length;
242 BYTE *Pattern;
243 BYTE *Mask;
244 BOOL EndOfStream;
245 } WICBitmapPattern;
247 typedef struct WICImageParameters
249 D2D1_PIXEL_FORMAT PixelFormat;
250 FLOAT DpiX;
251 FLOAT DpiY;
252 FLOAT Top;
253 FLOAT Left;
254 UINT32 PixelWidth;
255 UINT32 PixelHeight;
256 } WICImageParameters;
258 typedef UINT32 WICColor;
260 interface ID2D1Device;
261 interface ID2D1Image;
262 interface IWICPalette;
265 object,
266 uuid(3c613a02-34b2-44ea-9a7c-45aea9c6fd6d)
268 interface IWICColorContext : IUnknown
270 HRESULT InitializeFromFilename(
271 [in] LPCWSTR wzFilename);
273 HRESULT InitializeFromMemory(
274 [in, size_is(cbBufferSize)] const BYTE *pbBuffer,
275 [in] UINT cbBufferSize);
277 HRESULT InitializeFromExifColorSpace(
278 [in] UINT value);
280 HRESULT GetType(
281 [out] WICColorContextType *pType);
283 HRESULT GetProfileBytes(
284 [in] UINT cbBuffer,
285 [in, out, unique, size_is(cbBuffer)] BYTE *pbBuffer,
286 [out] UINT *pcbActual);
288 HRESULT GetExifColorSpace(
289 [out] UINT *pValue);
293 object,
294 uuid(00000120-a8f2-4877-ba0a-fd2b6645fb94)
296 interface IWICBitmapSource : IUnknown
298 HRESULT GetSize(
299 [out] UINT *puiWidth,
300 [out] UINT *puiHeight);
302 HRESULT GetPixelFormat(
303 [out] WICPixelFormatGUID *pPixelFormat);
305 HRESULT GetResolution(
306 [out] double *pDpiX,
307 [out] double *pDpiY);
309 HRESULT CopyPalette(
310 [in] IWICPalette *pIPalette);
312 HRESULT CopyPixels(
313 [in] const WICRect *prc,
314 [in] UINT cbStride,
315 [in] UINT cbBufferSize,
316 [out, size_is(cbBufferSize)] BYTE *pbBuffer);
320 object,
321 uuid(00000123-a8f2-4877-ba0a-fd2b6645fb94)
323 interface IWICBitmapLock : IUnknown
325 HRESULT GetSize(
326 [out] UINT *pWidth,
327 [out] UINT *pHeight);
329 HRESULT GetStride(
330 [out] UINT *pcbStride);
332 HRESULT GetDataPointer(
333 [out] UINT *pcbBufferSize,
334 [out, size_is(,*pcbBufferSize)] BYTE **ppbData);
336 HRESULT GetPixelFormat(
337 [out] WICPixelFormatGUID *pPixelFormat);
341 object,
342 uuid(5009834f-2d6a-41ce-9e1b-17c5aff7a782)
344 interface IWICBitmapFlipRotator : IWICBitmapSource
346 HRESULT Initialize(
347 [in] IWICBitmapSource *pISource,
348 [in] WICBitmapTransformOptions options);
352 object,
353 uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94)
355 interface IWICBitmap : IWICBitmapSource
357 HRESULT Lock(
358 [in] const WICRect *prcLock,
359 [in] DWORD flags,
360 [out] IWICBitmapLock **ppILock);
362 HRESULT SetPalette(
363 [in] IWICPalette *pIPalette);
365 HRESULT SetResolution(
366 [in] double dpiX,
367 [in] double dpiY);
371 object,
372 uuid(00000040-a8f2-4877-ba0a-fd2b6645fb94)
374 interface IWICPalette : IUnknown
376 HRESULT InitializePredefined(
377 [in] WICBitmapPaletteType ePaletteType,
378 [in] BOOL fAddTransparentColor);
380 HRESULT InitializeCustom(
381 [in, size_is(colorCount)] WICColor *pColors,
382 [in] UINT colorCount);
384 HRESULT InitializeFromBitmap(
385 [in] IWICBitmapSource *pISurface,
386 [in] UINT colorCount,
387 [in] BOOL fAddTransparentColor);
389 HRESULT InitializeFromPalette(
390 [in] IWICPalette *pIPalette);
392 HRESULT GetType(
393 [out] WICBitmapPaletteType *pePaletteType);
395 HRESULT GetColorCount(
396 [out] UINT *pcCount);
398 HRESULT GetColors(
399 [in] UINT colorCount,
400 [out, size_is(colorCount)] WICColor *pColors,
401 [out] UINT *pcActualColors);
403 HRESULT IsBlackWhite(
404 [out] BOOL *pfIsBlackWhite);
406 HRESULT IsGrayscale(
407 [out] BOOL *pfIsGrayscale);
409 HRESULT HasAlpha(
410 [out] BOOL *pfHasAlpha);
414 object,
415 uuid(23bc3f0a-698b-4357-886b-f24d50671334)
417 interface IWICComponentInfo : IUnknown
419 HRESULT GetComponentType(
420 [out] WICComponentType *pType);
422 HRESULT GetCLSID(
423 [out] CLSID *pclsid);
425 HRESULT GetSigningStatus(
426 [out] DWORD *pStatus);
428 HRESULT GetAuthor(
429 [in] UINT cchAuthor,
430 [in, out, unique, size_is(cchAuthor)] WCHAR *wzAuthor,
431 [out] UINT *pcchActual);
433 HRESULT GetVendorGUID(
434 [out] GUID *pguidVendor);
436 HRESULT GetVersion(
437 [in] UINT cchVersion,
438 [in, out, unique, size_is(cchVersion)] WCHAR *wzVersion,
439 [out] UINT *pcchActual);
441 HRESULT GetSpecVersion(
442 [in] UINT cchSpecVersion,
443 [in, out, unique, size_is(cchSpecVersion)] WCHAR *wzSpecVersion,
444 [out] UINT *pcchActual);
446 HRESULT GetFriendlyName(
447 [in] UINT cchFriendlyName,
448 [in, out, unique, size_is(cchFriendlyName)] WCHAR *wzFriendlyName,
449 [out] UINT *pcchActual);
453 object,
454 uuid(30989668-e1c9-4597-b395-458eedb808df)
456 interface IWICMetadataQueryReader : IUnknown
458 HRESULT GetContainerFormat(
459 [out] GUID *pguidContainerFormat);
461 HRESULT GetLocation(
462 [in] UINT cchMaxLength,
463 [in, out, unique, size_is(cchMaxLength)] WCHAR *wzNamespace,
464 [out] UINT *pcchActualLength);
466 HRESULT GetMetadataByName(
467 [in] LPCWSTR wzName,
468 [in, out, unique] PROPVARIANT *pvarValue);
470 HRESULT GetEnumerator(
471 [out] IEnumString **ppIEnumString);
475 object,
476 uuid(a721791a-0def-4d06-bd91-2118bf1db10b)
478 interface IWICMetadataQueryWriter : IWICMetadataQueryReader
480 HRESULT SetMetadataByName(
481 [in] LPCWSTR wzName,
482 [in] const PROPVARIANT *pvarValue);
484 HRESULT RemoveMetadataByName(
485 [in] LPCWSTR wzName);
489 object,
490 uuid(3b16811b-6a43-4ec9-a813-3d930c13b940)
492 interface IWICBitmapFrameDecode : IWICBitmapSource
494 HRESULT GetMetadataQueryReader(
495 [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
497 HRESULT GetColorContexts(
498 [in] UINT cCount,
499 [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
500 [out] UINT *pcActualCount);
502 HRESULT GetThumbnail(
503 [out] IWICBitmapSource **ppIThumbnail);
507 object,
508 uuid(e8eda601-3d48-431a-ab44-69059be88bbe)
510 interface IWICPixelFormatInfo : IWICComponentInfo
512 HRESULT GetFormatGUID(
513 [out] GUID* pFormat);
515 HRESULT GetColorContext(
516 [out] IWICColorContext **ppIColorContext);
518 HRESULT GetBitsPerPixel(
519 [out] UINT *puiBitsPerPixel);
521 HRESULT GetChannelCount(
522 [out] UINT *puiChannelCount);
524 HRESULT GetChannelMask(
525 [in] UINT uiChannelIndex,
526 [in] UINT cbMaskBuffer,
527 [in, out, unique, size_is(cbMaskBuffer)] BYTE *pbMaskBuffer,
528 [out] UINT *pcbActual);
532 object,
533 uuid(a9db33a2-af5f-43c7-b679-74f5984b5aa4)
535 interface IWICPixelFormatInfo2 : IWICPixelFormatInfo
537 HRESULT SupportsTransparency(
538 [out] BOOL *pfSupportsTransparency);
540 HRESULT GetNumericRepresentation(
541 [out] WICPixelFormatNumericRepresentation *pNumericRepresentation);
545 object,
546 uuid(e87a44c4-b76e-4c47-8b09-298eb12a2714)
548 interface IWICBitmapCodecInfo : IWICComponentInfo
550 HRESULT GetContainerFormat(
551 [out] GUID *pguidContainerFormat);
553 HRESULT GetPixelFormats(
554 [in] UINT cFormats,
555 [in, out, unique, size_is(cFormats)] GUID *pguidPixelFormats,
556 [out] UINT *pcActual);
558 HRESULT GetColorManagementVersion(
559 [in] UINT cchColorManagementVersion,
560 [in, out, unique, size_is(cchColorManagementVersion)] WCHAR *wzColorManagementVersion,
561 [out] UINT *pcchActual);
563 HRESULT GetDeviceManufacturer(
564 [in] UINT cchDeviceManufacturer,
565 [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer,
566 [out] UINT *pcchActual);
568 HRESULT GetDeviceModels(
569 [in] UINT cchDeviceModels,
570 [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels,
571 [out] UINT *pcchActual);
573 HRESULT GetMimeTypes(
574 [in] UINT cchMimeTypes,
575 [in, out, unique, size_is(cchMimeTypes)] WCHAR *wzMimeTypes,
576 [out] UINT *pcchActual);
578 HRESULT GetFileExtensions(
579 [in] UINT cchFileExtensions,
580 [in, out, unique, size_is(cchFileExtensions)] WCHAR *wzFileExtensions,
581 [out] UINT *pcchActual);
583 HRESULT DoesSupportAnimation(
584 [out] BOOL *pfSupportAnimation);
586 HRESULT DoesSupportChromaKey(
587 [out] BOOL *pfSupportChromaKey);
589 HRESULT DoesSupportLossless(
590 [out] BOOL *pfSupportLossless);
592 HRESULT DoesSupportMultiframe(
593 [out] BOOL *pfSupportMultiframe);
595 HRESULT MatchesMimeType(
596 [in] LPCWSTR wzMimeType,
597 [out] BOOL *pfMatches);
600 interface IWICBitmapDecoder;
603 object,
604 uuid(d8cd007f-d08f-4191-9bfc-236ea7f0e4b5)
606 interface IWICBitmapDecoderInfo : IWICBitmapCodecInfo
608 [local]
609 HRESULT GetPatterns(
610 [in] UINT cbSizePatterns,
611 [in, out, unique] WICBitmapPattern *pPatterns,
612 [in, out, unique] UINT *pcPatterns,
613 [in, out, unique] UINT *pcbPatternsActual);
615 HRESULT MatchesPattern(
616 [in] IStream *pIStream,
617 [out] BOOL *pfMatches);
619 HRESULT CreateInstance(
620 [out] IWICBitmapDecoder **ppIBitmapDecoder);
624 object,
625 uuid(9edde9e7-8dee-47ea-99df-e6faf2ed44bf)
627 interface IWICBitmapDecoder : IUnknown
629 HRESULT QueryCapability(
630 [in] IStream *pIStream,
631 [out] DWORD *pdwCapability);
633 HRESULT Initialize(
634 [in] IStream *pIStream,
635 [in] WICDecodeOptions cacheOptions);
637 HRESULT GetContainerFormat(
638 [out] GUID *pguidContainerFormat);
640 HRESULT GetDecoderInfo(
641 [out] IWICBitmapDecoderInfo **ppIDecoderInfo);
643 HRESULT CopyPalette(
644 [in] IWICPalette *pIPalette);
646 HRESULT GetMetadataQueryReader(
647 [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
649 HRESULT GetPreview(
650 [out] IWICBitmapSource **ppIBitmapSource);
652 HRESULT GetColorContexts(
653 [in] UINT cCount,
654 [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
655 [out] UINT *pcActualCount);
657 HRESULT GetThumbnail(
658 [out] IWICBitmapSource **ppIThumbnail);
660 HRESULT GetFrameCount(
661 [out] UINT *pCount);
663 HRESULT GetFrame(
664 [in] UINT index,
665 [out] IWICBitmapFrameDecode **ppIBitmapFrame);
669 object,
670 uuid(00000105-a8f2-4877-ba0a-fd2b6645fb94)
672 interface IWICBitmapFrameEncode : IUnknown
674 HRESULT Initialize(
675 [in, unique] IPropertyBag2 *pIEncoderOptions);
677 HRESULT SetSize(
678 [in] UINT uiWidth,
679 [in] UINT uiHeight);
681 HRESULT SetResolution(
682 [in] double dpiX,
683 [in] double dpiY);
685 HRESULT SetPixelFormat(
686 [in, out] WICPixelFormatGUID *pPixelFormat);
688 HRESULT SetColorContexts(
689 [in] UINT cCount,
690 [in, size_is(cCount)] IWICColorContext **ppIColorContext);
692 HRESULT SetPalette(
693 [in] IWICPalette *pIPalette);
695 HRESULT SetThumbnail(
696 [in] IWICBitmapSource *pIThumbnail);
698 HRESULT WritePixels(
699 [in] UINT lineCount,
700 [in] UINT cbStride,
701 [in] UINT cbBufferSize,
702 [in, size_is(cbBufferSize)] BYTE *pbPixels);
704 HRESULT WriteSource(
705 [in] IWICBitmapSource *pIBitmapSource,
706 [in, unique] WICRect *prc);
708 HRESULT Commit();
710 HRESULT GetMetadataQueryWriter(
711 IWICMetadataQueryWriter **ppIMetadataQueryWriter);
714 interface IWICBitmapEncoder;
717 object,
718 uuid(94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb)
720 interface IWICBitmapEncoderInfo : IWICBitmapCodecInfo
722 HRESULT CreateInstance(
723 [out] IWICBitmapEncoder **ppIBitmapEncoder);
727 object,
728 uuid(00000103-a8f2-4877-ba0a-fd2b6645fb94)
730 interface IWICBitmapEncoder : IUnknown
732 HRESULT Initialize(
733 [in] IStream *pIStream,
734 [in] WICBitmapEncoderCacheOption cacheOption);
736 HRESULT GetContainerFormat(
737 [out] GUID *pguidContainerFormat);
739 HRESULT GetEncoderInfo(
740 [out] IWICBitmapEncoderInfo **ppIEncoderInfo);
742 HRESULT SetColorContexts(
743 [in] UINT cCount,
744 [in, size_is(cCount)] IWICColorContext **ppIColorContext);
746 HRESULT SetPalette(
747 [in] IWICPalette *pIPalette);
749 HRESULT SetThumbnail(
750 [in] IWICBitmapSource *pIThumbnail);
752 HRESULT SetPreview(
753 [in] IWICBitmapSource *pIPreview);
755 HRESULT CreateNewFrame(
756 [out] IWICBitmapFrameEncode **ppIFrameEncode,
757 [in, out, unique] IPropertyBag2 **ppIEncoderOptions);
759 HRESULT Commit();
761 HRESULT GetMetadataQueryWriter(
762 [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
766 object,
767 uuid(00000301-a8f2-4877-ba0a-fd2b6645fb94)
769 interface IWICFormatConverter : IWICBitmapSource
771 HRESULT Initialize(
772 [in] IWICBitmapSource *pISource,
773 [in] REFWICPixelFormatGUID dstFormat,
774 [in] WICBitmapDitherType dither,
775 [in] IWICPalette *pIPalette,
776 [in] double alphaThresholdPercent,
777 [in] WICBitmapPaletteType paletteTranslate);
779 HRESULT CanConvert(
780 [in] REFWICPixelFormatGUID srcPixelFormat,
781 [in] REFWICPixelFormatGUID dstPixelFormat,
782 [out] BOOL *pfCanConvert);
786 object,
787 uuid(9f34fb65-13f4-4f15-bc57-3726b5e53d9f)
789 interface IWICFormatConverterInfo : IWICComponentInfo
791 HRESULT GetPixelFormats(
792 [in] UINT cFormats,
793 [in, out, size_is(cFormats)] WICPixelFormatGUID *pPixelFormatGUIDs,
794 [out] UINT *pcActual);
796 HRESULT CreateInstance(
797 [out] IWICFormatConverter **ppIConverter);
801 object,
802 uuid(135ff860-22b7-4ddf-b0f6-218f4f299a43)
804 interface IWICStream : IStream
806 HRESULT InitializeFromIStream(
807 [in] IStream *pIStream);
809 HRESULT InitializeFromFilename(
810 [in] LPCWSTR wzFileName,
811 [in] DWORD dwAccessMode);
813 HRESULT InitializeFromMemory(
814 [in, size_is(cbBufferSize)] BYTE *pbBuffer,
815 [in] DWORD cbBufferSize);
817 HRESULT InitializeFromIStreamRegion(
818 [in] IStream *pIStream,
819 [in] ULARGE_INTEGER ulOffset,
820 [in] ULARGE_INTEGER ulMaxSize);
824 object,
825 uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94)
827 interface IWICBitmapScaler : IWICBitmapSource
829 HRESULT Initialize(
830 [in] IWICBitmapSource *pISource,
831 [in] UINT uiWidth,
832 [in] UINT uiHeight,
833 [in] WICBitmapInterpolationMode mode);
837 object,
838 uuid(e4fbcf03-223d-4e81-9333-d635556dd1b5)
840 interface IWICBitmapClipper : IWICBitmapSource
842 HRESULT Initialize(
843 [in] IWICBitmapSource *pISource,
844 [in] const WICRect *prc);
848 object,
849 uuid(b66f034f-d0e2-40ab-b436-6de39e321a94)
851 interface IWICColorTransform : IWICBitmapSource
853 HRESULT Initialize(
854 [in] IWICBitmapSource *pIBitmapSource,
855 [in] IWICColorContext *pIContextSource,
856 [in] IWICColorContext *pIContextDest,
857 [in] REFWICPixelFormatGUID pixelFmtDest);
861 object,
862 uuid(b84e2c09-78c9-4ac4-8bd3-524ae1663a2f)
864 interface IWICFastMetadataEncoder : IUnknown
866 HRESULT Commit();
868 HRESULT GetMetadataQueryWriter(
869 [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
873 object,
874 uuid(04c75bf8-3ce1-473b-acc5-3cc4f5e94999),
875 local
877 interface IWICImageEncoder : IUnknown
879 HRESULT WriteFrame(
880 [in] ID2D1Image *image,
881 [in] IWICBitmapFrameEncode *encode,
882 [in, unique] const WICImageParameters *parameters);
884 HRESULT WriteFrameThumbnail(
885 [in] ID2D1Image *image,
886 [in] IWICBitmapFrameEncode *encode,
887 [in, unique] const WICImageParameters *parameters);
889 HRESULT WriteThumbnail(
890 [in] ID2D1Image *image,
891 [in] IWICBitmapEncoder *encoder,
892 [in, unique] const WICImageParameters *parameters);
895 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
896 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory1, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
897 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory2, 0x317d06e8,0x5f24,0x433d,0xbd,0xf7,0x79,0xce,0x68,0xd8,0xab,0xc2);")
900 object,
901 uuid(ec5ec8a9-c395-4314-9c77-54d7a935ff70)
903 interface IWICImagingFactory : IUnknown
905 HRESULT CreateDecoderFromFilename(
906 [in] LPCWSTR wzFilename,
907 [in, unique] const GUID *pguidVendor,
908 [in] DWORD dwDesiredAccess,
909 [in] WICDecodeOptions metadataOptions,
910 [out, retval] IWICBitmapDecoder **ppIDecoder);
912 HRESULT CreateDecoderFromStream(
913 [in] IStream *pIStream,
914 [in, unique] const GUID *pguidVendor,
915 [in] WICDecodeOptions metadataOptions,
916 [out, retval] IWICBitmapDecoder **ppIDecoder);
918 HRESULT CreateDecoderFromFileHandle(
919 [in] ULONG_PTR hFile,
920 [in, unique] const GUID *pguidVendor,
921 [in] WICDecodeOptions metadataOptions,
922 [out, retval] IWICBitmapDecoder **ppIDecoder);
924 HRESULT CreateComponentInfo(
925 [in] REFCLSID clsidComponent,
926 [out] IWICComponentInfo **ppIInfo);
928 HRESULT CreateDecoder(
929 [in] REFGUID guidContainerFormat,
930 [in, unique] const GUID *pguidVendor,
931 [out, retval] IWICBitmapDecoder **ppIDecoder);
933 HRESULT CreateEncoder(
934 [in] REFGUID guidContainerFormat,
935 [in, unique] const GUID *pguidVendor,
936 [out, retval] IWICBitmapEncoder **ppIEncoder);
938 HRESULT CreatePalette(
939 [out] IWICPalette **ppIPalette);
941 HRESULT CreateFormatConverter(
942 [out] IWICFormatConverter **ppIFormatConverter);
944 HRESULT CreateBitmapScaler(
945 [out] IWICBitmapScaler **ppIBitmapScaler);
947 HRESULT CreateBitmapClipper(
948 [out] IWICBitmapClipper **ppIBitmapClipper);
950 HRESULT CreateBitmapFlipRotator(
951 [out] IWICBitmapFlipRotator **ppIBitmapFlipRotator);
953 HRESULT CreateStream(
954 [out] IWICStream **ppIWICStream);
956 HRESULT CreateColorContext(
957 [out] IWICColorContext **ppIWICColorContext);
959 HRESULT CreateColorTransformer(
960 [out] IWICColorTransform **ppIWICColorTransform);
962 HRESULT CreateBitmap(
963 [in] UINT uiWidth,
964 [in] UINT uiHeight,
965 [in] REFWICPixelFormatGUID pixelFormat,
966 [in] WICBitmapCreateCacheOption option,
967 [out] IWICBitmap **ppIBitmap);
969 HRESULT CreateBitmapFromSource(
970 [in] IWICBitmapSource *piBitmapSource,
971 [in] WICBitmapCreateCacheOption option,
972 [out] IWICBitmap **ppIBitmap);
974 HRESULT CreateBitmapFromSourceRect(
975 [in] IWICBitmapSource *piBitmapSource,
976 [in] UINT x,
977 [in] UINT y,
978 [in] UINT width,
979 [in] UINT height,
980 [out] IWICBitmap **ppIBitmap);
982 HRESULT CreateBitmapFromMemory(
983 [in] UINT uiWidth,
984 [in] UINT uiHeight,
985 [in] REFWICPixelFormatGUID pixelFormat,
986 [in] UINT cbStride,
987 [in] UINT cbBufferSize,
988 [in, size_is(cbBufferSize)] BYTE *pbBuffer,
989 [out] IWICBitmap **ppIBitmap);
991 HRESULT CreateBitmapFromHBITMAP(
992 [in] HBITMAP hBitmap,
993 [in, unique] HPALETTE hPalette,
994 [in] WICBitmapAlphaChannelOption options,
995 [out] IWICBitmap **ppIBitmap);
997 HRESULT CreateBitmapFromHICON(
998 [in] HICON hIcon,
999 [out] IWICBitmap **ppIBitmap);
1001 HRESULT CreateComponentEnumerator(
1002 [in] DWORD componentTypes,
1003 [in] DWORD options,
1004 [out] IEnumUnknown **ppIEnumUnknown);
1006 HRESULT CreateFastMetadataEncoderFromDecoder(
1007 [in] IWICBitmapDecoder *pIDecoder,
1008 [out] IWICFastMetadataEncoder **ppIFastEncoder);
1010 HRESULT CreateFastMetadataEncoderFromFrameDecode(
1011 [in] IWICBitmapFrameDecode *pIFrameDecoder,
1012 [out] IWICFastMetadataEncoder **ppIFastEncoder);
1014 HRESULT CreateQueryWriter(
1015 [in] REFGUID guidMetadataFormat,
1016 [in, unique] const GUID *pguidVendor,
1017 [out] IWICMetadataQueryWriter **ppIQueryWriter);
1019 HRESULT CreateQueryWriterFromReader(
1020 [in] IWICMetadataQueryReader *pIQueryReader,
1021 [in, unique] const GUID *pguidVendor,
1022 [out] IWICMetadataQueryWriter **ppIQueryWriter);
1026 object,
1027 uuid(7b816b45-1996-4476-b132-de9e247c8af0),
1028 local
1030 interface IWICImagingFactory2 : IWICImagingFactory
1032 HRESULT CreateImageEncoder(
1033 [in] ID2D1Device *device,
1034 [out] IWICImageEncoder **encoder);
1038 local,
1039 object,
1040 uuid(dc2bb46d-3f07-481e-8625-220c4aedbb33)
1042 interface IWICEnumMetadataItem : IUnknown
1044 HRESULT Next(
1045 [in] ULONG celt,
1046 [in, out, unique, size_is(celt)] PROPVARIANT *rgeltSchema,
1047 [in, out, size_is(celt)] PROPVARIANT *rgeltId,
1048 [in, out, optional, size_is(celt)] PROPVARIANT *rgeltValue,
1049 [out, optional] ULONG *pceltFetched);
1051 HRESULT Skip(
1052 [in] ULONG celt);
1054 HRESULT Reset();
1056 HRESULT Clone(
1057 [out] IWICEnumMetadataItem **ppIEnumMetadataItem);
1060 cpp_quote("HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);")
1062 cpp_quote("HRESULT WINAPI WICMapGuidToShortName(REFGUID,UINT,WCHAR *,UINT *);")
1063 cpp_quote("HRESULT WINAPI WICMapShortNameToGuid(PCWSTR,GUID *);")
1064 cpp_quote("HRESULT WINAPI WICMapSchemaToName(REFGUID,LPWSTR,UINT,WCHAR *,UINT *);")
1066 cpp_quote("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);")
1067 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);")
1068 cpp_quote("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);")
1069 cpp_quote("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);")
1070 cpp_quote("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);")
1071 cpp_quote("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);")
1072 cpp_quote("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);")
1074 cpp_quote("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);")
1075 cpp_quote("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);")
1076 cpp_quote("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);")
1077 cpp_quote("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);")
1078 cpp_quote("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);")
1079 cpp_quote("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);")
1081 cpp_quote("DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1);")
1083 cpp_quote("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);")
1084 cpp_quote("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);")
1085 cpp_quote("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);")
1086 cpp_quote("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);")
1087 cpp_quote("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);")
1088 cpp_quote("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);")
1089 cpp_quote("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);")
1091 cpp_quote("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);")
1093 cpp_quote("DEFINE_GUID(CLSID_WICImagingCategories, 0xfae3d380,0xfea4,0x4623,0x8c,0x75,0xc6,0xb6,0x11,0x10,0xb6,0x81);")
1094 cpp_quote("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);")
1095 cpp_quote("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);")
1096 cpp_quote("DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48);")
1097 cpp_quote("DEFINE_GUID(CATID_WICMetadataReader, 0x05af94d8,0x7174,0x4cd2,0xbe,0x4a,0x41,0x24,0xb8,0x0e,0xe4,0xb8);")
1098 cpp_quote("DEFINE_GUID(CATID_WICPixelFormats, 0x2b46e70f,0xcda7,0x473e,0x89,0xf6,0xdc,0x96,0x30,0xa2,0x39,0x0b);")