uiautomationcore/tests: Fix UiaNodeFromHandle tests on Windows 11.
[wine.git] / include / wincodec.idl
blob6752341c02a9c589212b2955c0ec40e5530c670b
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";
22 import "dxgiformat.idl";
24 cpp_quote ("#include \"dcommon.h\"")
26 cpp_quote("#define WINCODEC_SDK_VERSION 0x0236")
28 #define CODEC_FORCE_DWORD 0x7fffffff
30 typedef enum WICDecodeOptions {
31 WICDecodeMetadataCacheOnDemand = 0x00000000,
32 WICDecodeMetadataCacheOnLoad = 0x00000001,
33 WICMETADATACACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
34 } WICDecodeOptions;
36 typedef enum WICBitmapCreateCacheOption {
37 WICBitmapNoCache = 0x00000000,
38 WICBitmapCacheOnDemand = 0x00000001,
39 WICBitmapCacheOnLoad = 0x00000002,
40 WICBITMAPCREATECACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
41 } WICBitmapCreateCacheOption;
43 typedef enum WICBitmapAlphaChannelOption {
44 WICBitmapUseAlpha = 0x00000000,
45 WICBitmapUsePremultipliedAlpha = 0x00000001,
46 WICBitmapIgnoreAlpha = 0x00000002,
47 WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
48 } WICBitmapAlphaChannelOption;
50 typedef enum WICBitmapDecoderCapabilities {
51 WICBitmapDecoderCapabilitySameEncoder = 0x00000001,
52 WICBitmapDecoderCapabilityCanDecodeAllImages = 0x00000002,
53 WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x00000004,
54 WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x00000008,
55 WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x00000010,
56 } WICBitmapDecoderCapabilities;
58 typedef enum WICBitmapDitherType {
59 WICBitmapDitherTypeNone = 0x00000000,
60 WICBitmapDitherTypeSolid = 0x00000000,
61 WICBitmapDitherTypeOrdered4x4 = 0x00000001,
62 WICBitmapDitherTypeOrdered8x8 = 0x00000002,
63 WICBitmapDitherTypeOrdered16x16 = 0x00000003,
64 WICBitmapDitherTypeSpiral4x4 = 0x00000004,
65 WICBitmapDitherTypeSpiral8x8 = 0x00000005,
66 WICBitmapDitherTypeDualSpiral4x4 = 0x00000006,
67 WICBitmapDitherTypeDualSpiral8x8 = 0x00000007,
68 WICBitmapDitherTypeErrorDiffusion = 0x00000008,
69 WICBITMAPDITHERTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
70 } WICBitmapDitherType;
72 typedef enum WICBitmapEncoderCacheOption {
73 WICBitmapEncoderCacheInMemory = 0x00000000,
74 WICBitmapEncoderCacheTempFile = 0x00000001,
75 WICBitmapEncoderNoCache = 0x00000002,
76 WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
77 } WICBitmapEncoderCacheOption;
79 typedef enum WICBitmapInterpolationMode {
80 WICBitmapInterpolationModeNearestNeighbor = 0x00000000,
81 WICBitmapInterpolationModeLinear = 0x00000001,
82 WICBitmapInterpolationModeCubic = 0x00000002,
83 WICBitmapInterpolationModeFant = 0x00000003,
84 WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD
85 } WICBitmapInterpolationMode;
87 typedef enum WICBitmapLockFlags {
88 WICBitmapLockRead = 0x00000001,
89 WICBitmapLockWrite = 0x00000002,
90 WICBITMAPLOCKFLAGS_FORCE_DWORD = CODEC_FORCE_DWORD
91 } WICBitmapLockFlags;
93 typedef enum WICBitmapPaletteType {
94 WICBitmapPaletteTypeCustom = 0x00000000,
95 WICBitmapPaletteTypeMedianCut = 0x00000001,
96 WICBitmapPaletteTypeFixedBW = 0x00000002,
97 WICBitmapPaletteTypeFixedHalftone8 = 0x00000003,
98 WICBitmapPaletteTypeFixedHalftone27 = 0x00000004,
99 WICBitmapPaletteTypeFixedHalftone64 = 0x00000005,
100 WICBitmapPaletteTypeFixedHalftone125 = 0x00000006,
101 WICBitmapPaletteTypeFixedHalftone216 = 0x00000007,
102 WICBitmapPaletteTypeFixedWebPalette = WICBitmapPaletteTypeFixedHalftone216,
103 WICBitmapPaletteTypeFixedHalftone252 = 0x00000008,
104 WICBitmapPaletteTypeFixedHalftone256 = 0x00000009,
105 WICBitmapPaletteTypeFixedGray4 = 0x0000000A,
106 WICBitmapPaletteTypeFixedGray16 = 0x0000000B,
107 WICBitmapPaletteTypeFixedGray256 = 0x0000000C,
108 WICBITMAPPALETTETYPE_FORCE_DWORD = CODEC_FORCE_DWORD
109 } WICBitmapPaletteType;
111 typedef enum WICBitmapTransformOptions {
112 WICBitmapTransformRotate0 = 0x00000000,
113 WICBitmapTransformRotate90 = 0x00000001,
114 WICBitmapTransformRotate180 = 0x00000002,
115 WICBitmapTransformRotate270 = 0x00000003,
116 WICBitmapTransformFlipHorizontal = 0x00000008,
117 WICBitmapTransformFlipVertical = 0x00000010,
118 WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
119 } WICBitmapTransformOptions;
121 typedef enum WICColorContextType {
122 WICColorContextUninitialized = 0x00000000,
123 WICColorContextProfile = 0x00000001,
124 WICColorContextExifColorSpace = 0x00000002
125 } WICColorContextType;
127 typedef enum WICComponentType {
128 WICDecoder = 0x00000001,
129 WICEncoder = 0x00000002,
130 WICPixelFormatConverter = 0x00000004,
131 WICMetadataReader = 0x00000008,
132 WICMetadataWriter = 0x00000010,
133 WICPixelFormat = 0x00000020,
134 WICCOMPONENTTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
135 } WICComponentType;
137 typedef enum WICComponentSigning {
138 WICComponentSigned = 0x00000001,
139 WICComponentUnsigned = 0x00000002,
140 WICComponentSafe = 0x00000004,
141 WICComponentDisabled = 0x80000000
142 } WICComponentSigning;
144 typedef enum WICComponentEnumerateOptions {
145 WICComponentEnumerateDefault = 0x00000000,
146 WICComponentEnumerateRefresh = 0x00000001,
147 WICComponentEnumerateBuiltInOnly = 0x20000000,
148 WICComponentEnumerateUnsigned = 0x40000000,
149 WICComponentEnumerateDisabled = 0x80000000
150 } WICComponentEnumerateOptions;
152 typedef enum WICJpegYCrCbSubsamplingOption {
153 WICJpegYCrCbSubsamplingDefault = 0x00000000,
154 WICJpegYCrCbSubsampling420 = 0x00000001,
155 WICJpegYCrCbSubsampling422 = 0x00000002,
156 WICJpegYCrCbSubsampling444 = 0x00000003,
157 WICJpegYCrCbSubsampling440 = 0x00000004
158 } WICJpegYCrCbSubsamplingOption;
160 typedef enum WICPixelFormatNumericRepresentation {
161 WICPixelFormatNumericRepresentationUnspecified = 0x00000000,
162 WICPixelFormatNumericRepresentationIndexed = 0x00000001,
163 WICPixelFormatNumericRepresentationUnsignedInteger = 0x00000002,
164 WICPixelFormatNumericRepresentationSignedInteger = 0x00000003,
165 WICPixelFormatNumericRepresentationFixed = 0x00000004,
166 WICPixelFormatNumericRepresentationFloat = 0x00000005,
167 WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD = CODEC_FORCE_DWORD
168 } WICPixelFormatNumericRepresentation;
170 typedef enum WICTiffCompressionOption {
171 WICTiffCompressionDontCare = 0x00000000,
172 WICTiffCompressionNone = 0x00000001,
173 WICTiffCompressionCCITT3 = 0x00000002,
174 WICTiffCompressionCCITT4 = 0x00000003,
175 WICTiffCompressionLZW = 0x00000004,
176 WICTiffCompressionRLE = 0x00000005,
177 WICTiffCompressionZIP = 0x00000006,
178 WICTiffCompressionLZWHDifferencing = 0x00000007,
179 WICTIFFCOMPRESSIONOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
180 } WICTiffCompressionOption;
182 typedef enum WICPngFilterOption {
183 WICPngFilterUnspecified = 0,
184 WICPngFilterNone = 1,
185 WICPngFilterSub = 2,
186 WICPngFilterUp = 3,
187 WICPngFilterAverage = 4,
188 WICPngFilterPaeth = 5,
189 WICPngFilterAdaptive = 6,
190 WICPNFFILTEROPTION_FORCE_DWORD = CODEC_FORCE_DWORD
191 } WICPngFilterOption;
193 typedef enum WICSectionAccessLevel {
194 WICSectionAccessLevelRead = 0x00000001,
195 WICSectionAccessLevelReadWrite = 0x00000003,
196 WICSectionAccessLevel_FORCE_DWORD = CODEC_FORCE_DWORD
197 } WICSectionAccessLevel;
199 typedef enum WICDdsDimension {
200 WICDdsTexture1D = 0x00000000,
201 WICDdsTexture2D = 0x00000001,
202 WICDdsTexture3D = 0x00000002,
203 WICDdsTextureCube = 0x00000003,
204 WICDDSTEXTURE_FORCE_DWORD = CODEC_FORCE_DWORD
205 } WICDdsDimension;
207 typedef enum WICDdsAlphaMode {
208 WICDdsAlphaModeUnknown = 0x00000000,
209 WICDdsAlphaModeStraight = 0x00000001,
210 WICDdsAlphaModePremultiplied = 0x00000002,
211 WICDdsAlphaModeOpaque = 0x00000003,
212 WICDdsAlphaModeCustom = 0x00000004,
213 WICDDSALPHAMODE_FORCE_DWORD = CODEC_FORCE_DWORD
214 } WICDdsAlphaMode;
216 typedef GUID WICPixelFormatGUID;
217 typedef REFGUID REFWICPixelFormatGUID;
219 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);")
220 cpp_quote("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare")
222 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);")
223 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);")
224 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);")
225 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);")
227 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05);")
228 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06);")
229 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07);")
230 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08);")
231 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b);")
233 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppAlpha, 0xe6cd0116,0xeeba,0x4161,0xaa,0x85,0x27,0xdd,0x9f,0xb3,0xa8,0x95);")
235 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);")
236 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);")
237 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b,0xf1e6,0x4961,0xad,0x46,0xe1,0xcc,0x81,0x0a,0x87,0xd2);")
238 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);")
239 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0d);")
240 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);")
241 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);")
242 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);")
243 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGB, 0xd98c6b95,0x3efe,0x47d6,0xbb,0x25,0xeb,0x17,0x48,0xab,0x0c,0xf1);")
244 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d,0x6a8d,0x43dd,0xa7,0xa8,0xa2,0x99,0x35,0x26,0x1a,0xe9);")
245 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650,0xa527,0x4d37,0xa9,0x16,0x31,0x42,0xc7,0xeb,0xed,0xba);")
246 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x11);")
248 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15);")
249 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppBGR, 0xe605a384,0xb468,0x46ce,0xbb,0x2e,0x36,0xf1,0x80,0xe6,0x43,0x13);")
250 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGB, 0xa1182111,0x186d,0x4d42,0xbc,0x6a,0x9c,0x83,0x03,0xa8,0xdf,0xf9);")
251 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16);")
252 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppBGRA, 0x1562ff7c,0xd352,0x46f9,0x97,0x9e,0x42,0x97,0x6b,0x79,0x22,0x46);")
253 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x17);")
254 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPBGRA, 0x8c518e8e,0xa4ec,0x468b,0xae,0x70,0xc9,0xa3,0x5a,0x9c,0x55,0x30);")
256 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGrayFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x13);")
257 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR101010, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x14);")
258 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x12);")
259 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppBGRFixedPoint, 0x49ca140e,0xcab6,0x493b,0x9d,0xdf,0x60,0x18,0x7c,0x37,0x53,0x2a);")
260 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x18);")
261 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bppRGBFloat, 0xe3fed78f,0xe8db,0x4acf,0x84,0xc1,0xe9,0x7f,0x61,0x36,0xb3,0x27);")
262 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBAFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x19);")
263 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppPRGBAFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1a);")
264 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1b);")
266 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c);")
268 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBAFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1d);")
269 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppBGRAFixedPoint, 0x356de33c,0x54d2,0x4a23,0xbb,0x4,0x9b,0x7b,0xf9,0xb1,0xd4,0x2d);")
270 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x40);")
271 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBAFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1e);")
272 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x41);")
274 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBAHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3a);")
275 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBAHalf, 0x58ad26c2,0xc623,0x4d9d,0xb3,0x20,0x38,0x7e,0x49,0xf8,0xc4,0x42);")
276 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x42);")
277 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGBHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3b);")
279 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBE, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3d);")
281 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGrayHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3e);")
282 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3f);")
284 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA1010102, 0x25238d72,0xfcf9,0x4522,0xb5,0x14,0x55,0x78,0xe5,0xad,0x55,0xe0);")
285 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA1010102XR, 0x00de6b9a,0xc101,0x434b,0xb5,0x02,0xd0,0x16,0x5e,0xe1,0x12,0x2c);")
287 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppR10G10B10A2, 0x604e1bb5,0x8a3c,0x4b65,0xb1,0x1c,0xbc,0x0b,0x8d,0xd7,0x5b,0x7f);")
289 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppR10G10B10A2HDR10, 0x9c215c5d,0x1acc,0x4f0e,0xa4,0xbc,0x70,0xfb,0x3a,0xe8,0xfd,0x28);")
291 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1f);")
293 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bpp3Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x20);")
294 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bpp4Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x21);")
295 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat40bpp5Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x22);")
296 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bpp6Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x23);")
297 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat56bpp7Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x24);")
298 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp8Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x25);")
300 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bpp3Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x26);")
301 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp4Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x27);")
302 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat80bpp5Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x28);")
303 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bpp6Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x29);")
304 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat112bpp7Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2a);")
305 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bpp8Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2b);")
307 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat40bppCMYKAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2c);")
308 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat80bppCMYKAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2d);")
310 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bpp3ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2e);")
311 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat40bpp4ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2f);")
312 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bpp5ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x30);")
313 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat56bpp6ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x31);")
314 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp7ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x32);")
315 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat72bpp8ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x33);")
317 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp3ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x34);")
318 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat80bpp4ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x35);")
319 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bpp5ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x36);")
320 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat112bpp6ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x37);")
321 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bpp7ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x38);")
322 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat144bpp8ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x39);")
324 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppY, 0x91b4db54,0x2df9,0x42f0,0xb4,0x49,0x29,0x09,0xbb,0x3d,0xf8,0x8e);")
325 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppCb, 0x1339f224,0x6bfe,0x4c3e,0x93,0x02,0xe4,0xf3,0xa6,0xd0,0xca,0x2a);")
326 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppCr, 0xb8145053,0x2116,0x49f0,0x88,0x35,0xed,0x84,0x4b,0x20,0x5c,0x51);")
327 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppCbCr, 0xff95ba6e,0x11e0,0x4263,0xbb,0x45,0x01,0x72,0x1f,0x34,0x60,0xa4);")
329 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppYQuantizedDctCoefficients, 0xa355f433,0x48e8,0x4a42,0x84,0xd8,0xe2,0xaa,0x26,0xca,0x80,0xa4);")
330 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppCbQuantizedDctCoefficients, 0xd2c4ff61,0x56a5,0x49c2,0x8b,0x5c,0x4c,0x19,0x25,0x96,0x48,0x37);")
331 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppCrQuantizedDctCoefficients, 0x2fe354f0,0x1680,0x42d8,0x92,0x31,0xe7,0x3c,0x05,0x65,0xbf,0xc1);")
333 cpp_quote("#if 0")
334 typedef DWORD *D2D1_PIXEL_FORMAT;
335 cpp_quote ("#endif")
337 typedef struct WICRect {
338 INT X;
339 INT Y;
340 INT Width;
341 INT Height;
342 } WICRect;
344 typedef struct WICBitmapPattern {
345 ULARGE_INTEGER Position;
346 ULONG Length;
347 BYTE *Pattern;
348 BYTE *Mask;
349 BOOL EndOfStream;
350 } WICBitmapPattern;
352 typedef struct WICImageParameters
354 D2D1_PIXEL_FORMAT PixelFormat;
355 FLOAT DpiX;
356 FLOAT DpiY;
357 FLOAT Top;
358 FLOAT Left;
359 UINT32 PixelWidth;
360 UINT32 PixelHeight;
361 } WICImageParameters;
363 typedef struct WICDdsParameters {
364 UINT Width;
365 UINT Height;
366 UINT Depth;
367 UINT MipLevels;
368 UINT ArraySize;
369 DXGI_FORMAT DxgiFormat;
370 WICDdsDimension Dimension;
371 WICDdsAlphaMode AlphaMode;
372 } WICDdsParameters;
374 typedef struct WICDdsFormatInfo {
375 DXGI_FORMAT DxgiFormat;
376 UINT BytesPerBlock;
377 UINT BlockWidth;
378 UINT BlockHeight;
379 } WICDdsFormatInfo;
381 typedef UINT32 WICColor;
383 interface ID2D1Device;
384 interface ID2D1Image;
385 interface IWICPalette;
388 object,
389 uuid(3c613a02-34b2-44ea-9a7c-45aea9c6fd6d)
391 interface IWICColorContext : IUnknown
393 HRESULT InitializeFromFilename(
394 [in] LPCWSTR wzFilename);
396 HRESULT InitializeFromMemory(
397 [in, size_is(cbBufferSize)] const BYTE *pbBuffer,
398 [in] UINT cbBufferSize);
400 HRESULT InitializeFromExifColorSpace(
401 [in] UINT value);
403 HRESULT GetType(
404 [out] WICColorContextType *pType);
406 HRESULT GetProfileBytes(
407 [in] UINT cbBuffer,
408 [in, out, unique, size_is(cbBuffer)] BYTE *pbBuffer,
409 [out] UINT *pcbActual);
411 HRESULT GetExifColorSpace(
412 [out] UINT *pValue);
416 object,
417 uuid(00000120-a8f2-4877-ba0a-fd2b6645fb94)
419 interface IWICBitmapSource : IUnknown
421 HRESULT GetSize(
422 [out] UINT *puiWidth,
423 [out] UINT *puiHeight);
425 HRESULT GetPixelFormat(
426 [out] WICPixelFormatGUID *pPixelFormat);
428 HRESULT GetResolution(
429 [out] double *pDpiX,
430 [out] double *pDpiY);
432 HRESULT CopyPalette(
433 [in] IWICPalette *pIPalette);
435 HRESULT CopyPixels(
436 [in] const WICRect *prc,
437 [in] UINT cbStride,
438 [in] UINT cbBufferSize,
439 [out, size_is(cbBufferSize)] BYTE *pbBuffer);
443 object,
444 uuid(00000123-a8f2-4877-ba0a-fd2b6645fb94)
446 interface IWICBitmapLock : IUnknown
448 HRESULT GetSize(
449 [out] UINT *pWidth,
450 [out] UINT *pHeight);
452 HRESULT GetStride(
453 [out] UINT *pcbStride);
455 HRESULT GetDataPointer(
456 [out] UINT *pcbBufferSize,
457 [out, size_is(,*pcbBufferSize)] BYTE **ppbData);
459 HRESULT GetPixelFormat(
460 [out] WICPixelFormatGUID *pPixelFormat);
464 object,
465 uuid(5009834f-2d6a-41ce-9e1b-17c5aff7a782)
467 interface IWICBitmapFlipRotator : IWICBitmapSource
469 HRESULT Initialize(
470 [in] IWICBitmapSource *pISource,
471 [in] WICBitmapTransformOptions options);
475 object,
476 uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94)
478 interface IWICBitmap : IWICBitmapSource
480 HRESULT Lock(
481 [in] const WICRect *prcLock,
482 [in] DWORD flags,
483 [out] IWICBitmapLock **ppILock);
485 HRESULT SetPalette(
486 [in] IWICPalette *pIPalette);
488 HRESULT SetResolution(
489 [in] double dpiX,
490 [in] double dpiY);
494 object,
495 uuid(00000040-a8f2-4877-ba0a-fd2b6645fb94)
497 interface IWICPalette : IUnknown
499 HRESULT InitializePredefined(
500 [in] WICBitmapPaletteType ePaletteType,
501 [in] BOOL fAddTransparentColor);
503 HRESULT InitializeCustom(
504 [in, size_is(colorCount)] WICColor *pColors,
505 [in] UINT colorCount);
507 HRESULT InitializeFromBitmap(
508 [in] IWICBitmapSource *pISurface,
509 [in] UINT colorCount,
510 [in] BOOL fAddTransparentColor);
512 HRESULT InitializeFromPalette(
513 [in] IWICPalette *pIPalette);
515 HRESULT GetType(
516 [out] WICBitmapPaletteType *pePaletteType);
518 HRESULT GetColorCount(
519 [out] UINT *pcCount);
521 HRESULT GetColors(
522 [in] UINT colorCount,
523 [out, size_is(colorCount)] WICColor *pColors,
524 [out] UINT *pcActualColors);
526 HRESULT IsBlackWhite(
527 [out] BOOL *pfIsBlackWhite);
529 HRESULT IsGrayscale(
530 [out] BOOL *pfIsGrayscale);
532 HRESULT HasAlpha(
533 [out] BOOL *pfHasAlpha);
537 object,
538 uuid(23bc3f0a-698b-4357-886b-f24d50671334)
540 interface IWICComponentInfo : IUnknown
542 HRESULT GetComponentType(
543 [out] WICComponentType *pType);
545 HRESULT GetCLSID(
546 [out] CLSID *pclsid);
548 HRESULT GetSigningStatus(
549 [out] DWORD *pStatus);
551 HRESULT GetAuthor(
552 [in] UINT cchAuthor,
553 [in, out, unique, size_is(cchAuthor)] WCHAR *wzAuthor,
554 [out] UINT *pcchActual);
556 HRESULT GetVendorGUID(
557 [out] GUID *pguidVendor);
559 HRESULT GetVersion(
560 [in] UINT cchVersion,
561 [in, out, unique, size_is(cchVersion)] WCHAR *wzVersion,
562 [out] UINT *pcchActual);
564 HRESULT GetSpecVersion(
565 [in] UINT cchSpecVersion,
566 [in, out, unique, size_is(cchSpecVersion)] WCHAR *wzSpecVersion,
567 [out] UINT *pcchActual);
569 HRESULT GetFriendlyName(
570 [in] UINT cchFriendlyName,
571 [in, out, unique, size_is(cchFriendlyName)] WCHAR *wzFriendlyName,
572 [out] UINT *pcchActual);
576 object,
577 uuid(30989668-e1c9-4597-b395-458eedb808df)
579 interface IWICMetadataQueryReader : IUnknown
581 HRESULT GetContainerFormat(
582 [out] GUID *pguidContainerFormat);
584 HRESULT GetLocation(
585 [in] UINT cchMaxLength,
586 [in, out, unique, size_is(cchMaxLength)] WCHAR *wzNamespace,
587 [out] UINT *pcchActualLength);
589 HRESULT GetMetadataByName(
590 [in] LPCWSTR wzName,
591 [in, out, unique] PROPVARIANT *pvarValue);
593 HRESULT GetEnumerator(
594 [out] IEnumString **ppIEnumString);
598 object,
599 uuid(a721791a-0def-4d06-bd91-2118bf1db10b)
601 interface IWICMetadataQueryWriter : IWICMetadataQueryReader
603 HRESULT SetMetadataByName(
604 [in] LPCWSTR wzName,
605 [in] const PROPVARIANT *pvarValue);
607 HRESULT RemoveMetadataByName(
608 [in] LPCWSTR wzName);
612 object,
613 uuid(3b16811b-6a43-4ec9-a813-3d930c13b940)
615 interface IWICBitmapFrameDecode : IWICBitmapSource
617 HRESULT GetMetadataQueryReader(
618 [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
620 HRESULT GetColorContexts(
621 [in] UINT cCount,
622 [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
623 [out] UINT *pcActualCount);
625 HRESULT GetThumbnail(
626 [out] IWICBitmapSource **ppIThumbnail);
630 object,
631 uuid(e8eda601-3d48-431a-ab44-69059be88bbe)
633 interface IWICPixelFormatInfo : IWICComponentInfo
635 HRESULT GetFormatGUID(
636 [out] GUID* pFormat);
638 HRESULT GetColorContext(
639 [out] IWICColorContext **ppIColorContext);
641 HRESULT GetBitsPerPixel(
642 [out] UINT *puiBitsPerPixel);
644 HRESULT GetChannelCount(
645 [out] UINT *puiChannelCount);
647 HRESULT GetChannelMask(
648 [in] UINT uiChannelIndex,
649 [in] UINT cbMaskBuffer,
650 [in, out, unique, size_is(cbMaskBuffer)] BYTE *pbMaskBuffer,
651 [out] UINT *pcbActual);
655 object,
656 uuid(a9db33a2-af5f-43c7-b679-74f5984b5aa4)
658 interface IWICPixelFormatInfo2 : IWICPixelFormatInfo
660 HRESULT SupportsTransparency(
661 [out] BOOL *pfSupportsTransparency);
663 HRESULT GetNumericRepresentation(
664 [out] WICPixelFormatNumericRepresentation *pNumericRepresentation);
668 object,
669 uuid(e87a44c4-b76e-4c47-8b09-298eb12a2714)
671 interface IWICBitmapCodecInfo : IWICComponentInfo
673 HRESULT GetContainerFormat(
674 [out] GUID *pguidContainerFormat);
676 HRESULT GetPixelFormats(
677 [in] UINT cFormats,
678 [in, out, unique, size_is(cFormats)] GUID *pguidPixelFormats,
679 [out] UINT *pcActual);
681 HRESULT GetColorManagementVersion(
682 [in] UINT cchColorManagementVersion,
683 [in, out, unique, size_is(cchColorManagementVersion)] WCHAR *wzColorManagementVersion,
684 [out] UINT *pcchActual);
686 HRESULT GetDeviceManufacturer(
687 [in] UINT cchDeviceManufacturer,
688 [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer,
689 [out] UINT *pcchActual);
691 HRESULT GetDeviceModels(
692 [in] UINT cchDeviceModels,
693 [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels,
694 [out] UINT *pcchActual);
696 HRESULT GetMimeTypes(
697 [in] UINT cchMimeTypes,
698 [in, out, unique, size_is(cchMimeTypes)] WCHAR *wzMimeTypes,
699 [out] UINT *pcchActual);
701 HRESULT GetFileExtensions(
702 [in] UINT cchFileExtensions,
703 [in, out, unique, size_is(cchFileExtensions)] WCHAR *wzFileExtensions,
704 [out] UINT *pcchActual);
706 HRESULT DoesSupportAnimation(
707 [out] BOOL *pfSupportAnimation);
709 HRESULT DoesSupportChromaKey(
710 [out] BOOL *pfSupportChromaKey);
712 HRESULT DoesSupportLossless(
713 [out] BOOL *pfSupportLossless);
715 HRESULT DoesSupportMultiframe(
716 [out] BOOL *pfSupportMultiframe);
718 HRESULT MatchesMimeType(
719 [in] LPCWSTR wzMimeType,
720 [out] BOOL *pfMatches);
723 interface IWICBitmapDecoder;
726 object,
727 uuid(d8cd007f-d08f-4191-9bfc-236ea7f0e4b5)
729 interface IWICBitmapDecoderInfo : IWICBitmapCodecInfo
731 [local]
732 HRESULT GetPatterns(
733 [in] UINT cbSizePatterns,
734 [in, out, unique] WICBitmapPattern *pPatterns,
735 [in, out, unique] UINT *pcPatterns,
736 [in, out, unique] UINT *pcbPatternsActual);
738 HRESULT MatchesPattern(
739 [in] IStream *pIStream,
740 [out] BOOL *pfMatches);
742 HRESULT CreateInstance(
743 [out] IWICBitmapDecoder **ppIBitmapDecoder);
747 object,
748 uuid(9edde9e7-8dee-47ea-99df-e6faf2ed44bf)
750 interface IWICBitmapDecoder : IUnknown
752 HRESULT QueryCapability(
753 [in] IStream *pIStream,
754 [out] DWORD *pdwCapability);
756 HRESULT Initialize(
757 [in] IStream *pIStream,
758 [in] WICDecodeOptions cacheOptions);
760 HRESULT GetContainerFormat(
761 [out] GUID *pguidContainerFormat);
763 HRESULT GetDecoderInfo(
764 [out] IWICBitmapDecoderInfo **ppIDecoderInfo);
766 HRESULT CopyPalette(
767 [in] IWICPalette *pIPalette);
769 HRESULT GetMetadataQueryReader(
770 [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
772 HRESULT GetPreview(
773 [out] IWICBitmapSource **ppIBitmapSource);
775 HRESULT GetColorContexts(
776 [in] UINT cCount,
777 [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
778 [out] UINT *pcActualCount);
780 HRESULT GetThumbnail(
781 [out] IWICBitmapSource **ppIThumbnail);
783 HRESULT GetFrameCount(
784 [out] UINT *pCount);
786 HRESULT GetFrame(
787 [in] UINT index,
788 [out] IWICBitmapFrameDecode **ppIBitmapFrame);
792 object,
793 uuid(00000105-a8f2-4877-ba0a-fd2b6645fb94)
795 interface IWICBitmapFrameEncode : IUnknown
797 HRESULT Initialize(
798 [in, unique] IPropertyBag2 *pIEncoderOptions);
800 HRESULT SetSize(
801 [in] UINT uiWidth,
802 [in] UINT uiHeight);
804 HRESULT SetResolution(
805 [in] double dpiX,
806 [in] double dpiY);
808 HRESULT SetPixelFormat(
809 [in, out] WICPixelFormatGUID *pPixelFormat);
811 HRESULT SetColorContexts(
812 [in] UINT cCount,
813 [in, size_is(cCount)] IWICColorContext **ppIColorContext);
815 HRESULT SetPalette(
816 [in] IWICPalette *pIPalette);
818 HRESULT SetThumbnail(
819 [in] IWICBitmapSource *pIThumbnail);
821 HRESULT WritePixels(
822 [in] UINT lineCount,
823 [in] UINT cbStride,
824 [in] UINT cbBufferSize,
825 [in, size_is(cbBufferSize)] BYTE *pbPixels);
827 HRESULT WriteSource(
828 [in] IWICBitmapSource *pIBitmapSource,
829 [in, unique] WICRect *prc);
831 HRESULT Commit();
833 HRESULT GetMetadataQueryWriter(
834 IWICMetadataQueryWriter **ppIMetadataQueryWriter);
837 interface IWICBitmapEncoder;
840 object,
841 uuid(94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb)
843 interface IWICBitmapEncoderInfo : IWICBitmapCodecInfo
845 HRESULT CreateInstance(
846 [out] IWICBitmapEncoder **ppIBitmapEncoder);
850 object,
851 uuid(00000103-a8f2-4877-ba0a-fd2b6645fb94)
853 interface IWICBitmapEncoder : IUnknown
855 HRESULT Initialize(
856 [in] IStream *pIStream,
857 [in] WICBitmapEncoderCacheOption cacheOption);
859 HRESULT GetContainerFormat(
860 [out] GUID *pguidContainerFormat);
862 HRESULT GetEncoderInfo(
863 [out] IWICBitmapEncoderInfo **ppIEncoderInfo);
865 HRESULT SetColorContexts(
866 [in] UINT cCount,
867 [in, size_is(cCount)] IWICColorContext **ppIColorContext);
869 HRESULT SetPalette(
870 [in] IWICPalette *pIPalette);
872 HRESULT SetThumbnail(
873 [in] IWICBitmapSource *pIThumbnail);
875 HRESULT SetPreview(
876 [in] IWICBitmapSource *pIPreview);
878 HRESULT CreateNewFrame(
879 [out] IWICBitmapFrameEncode **ppIFrameEncode,
880 [in, out, unique] IPropertyBag2 **ppIEncoderOptions);
882 HRESULT Commit();
884 HRESULT GetMetadataQueryWriter(
885 [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
889 object,
890 uuid(00000301-a8f2-4877-ba0a-fd2b6645fb94)
892 interface IWICFormatConverter : IWICBitmapSource
894 HRESULT Initialize(
895 [in] IWICBitmapSource *pISource,
896 [in] REFWICPixelFormatGUID dstFormat,
897 [in] WICBitmapDitherType dither,
898 [in] IWICPalette *pIPalette,
899 [in] double alphaThresholdPercent,
900 [in] WICBitmapPaletteType paletteTranslate);
902 HRESULT CanConvert(
903 [in] REFWICPixelFormatGUID srcPixelFormat,
904 [in] REFWICPixelFormatGUID dstPixelFormat,
905 [out] BOOL *pfCanConvert);
909 object,
910 uuid(9f34fb65-13f4-4f15-bc57-3726b5e53d9f)
912 interface IWICFormatConverterInfo : IWICComponentInfo
914 HRESULT GetPixelFormats(
915 [in] UINT cFormats,
916 [in, out, size_is(cFormats)] WICPixelFormatGUID *pPixelFormatGUIDs,
917 [out] UINT *pcActual);
919 HRESULT CreateInstance(
920 [out] IWICFormatConverter **ppIConverter);
924 object,
925 uuid(135ff860-22b7-4ddf-b0f6-218f4f299a43)
927 interface IWICStream : IStream
929 HRESULT InitializeFromIStream(
930 [in] IStream *pIStream);
932 HRESULT InitializeFromFilename(
933 [in] LPCWSTR wzFileName,
934 [in] DWORD dwAccessMode);
936 HRESULT InitializeFromMemory(
937 [in, size_is(cbBufferSize)] BYTE *pbBuffer,
938 [in] DWORD cbBufferSize);
940 HRESULT InitializeFromIStreamRegion(
941 [in] IStream *pIStream,
942 [in] ULARGE_INTEGER ulOffset,
943 [in] ULARGE_INTEGER ulMaxSize);
947 object,
948 uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94)
950 interface IWICBitmapScaler : IWICBitmapSource
952 HRESULT Initialize(
953 [in] IWICBitmapSource *pISource,
954 [in] UINT uiWidth,
955 [in] UINT uiHeight,
956 [in] WICBitmapInterpolationMode mode);
960 object,
961 uuid(e4fbcf03-223d-4e81-9333-d635556dd1b5)
963 interface IWICBitmapClipper : IWICBitmapSource
965 HRESULT Initialize(
966 [in] IWICBitmapSource *pISource,
967 [in] const WICRect *prc);
971 object,
972 uuid(b66f034f-d0e2-40ab-b436-6de39e321a94)
974 interface IWICColorTransform : IWICBitmapSource
976 HRESULT Initialize(
977 [in] IWICBitmapSource *pIBitmapSource,
978 [in] IWICColorContext *pIContextSource,
979 [in] IWICColorContext *pIContextDest,
980 [in] REFWICPixelFormatGUID pixelFmtDest);
984 object,
985 uuid(b84e2c09-78c9-4ac4-8bd3-524ae1663a2f)
987 interface IWICFastMetadataEncoder : IUnknown
989 HRESULT Commit();
991 HRESULT GetMetadataQueryWriter(
992 [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
996 object,
997 uuid(04c75bf8-3ce1-473b-acc5-3cc4f5e94999),
998 local
1000 interface IWICImageEncoder : IUnknown
1002 HRESULT WriteFrame(
1003 [in] ID2D1Image *image,
1004 [in] IWICBitmapFrameEncode *encode,
1005 [in, unique] const WICImageParameters *parameters);
1007 HRESULT WriteFrameThumbnail(
1008 [in] ID2D1Image *image,
1009 [in] IWICBitmapFrameEncode *encode,
1010 [in, unique] const WICImageParameters *parameters);
1012 HRESULT WriteThumbnail(
1013 [in] ID2D1Image *image,
1014 [in] IWICBitmapEncoder *encoder,
1015 [in, unique] const WICImageParameters *parameters);
1018 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
1019 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory1, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
1020 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory2, 0x317d06e8,0x5f24,0x433d,0xbd,0xf7,0x79,0xce,0x68,0xd8,0xab,0xc2);")
1023 object,
1024 uuid(ec5ec8a9-c395-4314-9c77-54d7a935ff70)
1026 interface IWICImagingFactory : IUnknown
1028 HRESULT CreateDecoderFromFilename(
1029 [in] LPCWSTR wzFilename,
1030 [in, unique] const GUID *pguidVendor,
1031 [in] DWORD dwDesiredAccess,
1032 [in] WICDecodeOptions metadataOptions,
1033 [out, retval] IWICBitmapDecoder **ppIDecoder);
1035 HRESULT CreateDecoderFromStream(
1036 [in] IStream *pIStream,
1037 [in, unique] const GUID *pguidVendor,
1038 [in] WICDecodeOptions metadataOptions,
1039 [out, retval] IWICBitmapDecoder **ppIDecoder);
1041 HRESULT CreateDecoderFromFileHandle(
1042 [in] ULONG_PTR hFile,
1043 [in, unique] const GUID *pguidVendor,
1044 [in] WICDecodeOptions metadataOptions,
1045 [out, retval] IWICBitmapDecoder **ppIDecoder);
1047 HRESULT CreateComponentInfo(
1048 [in] REFCLSID clsidComponent,
1049 [out] IWICComponentInfo **ppIInfo);
1051 HRESULT CreateDecoder(
1052 [in] REFGUID guidContainerFormat,
1053 [in, unique] const GUID *pguidVendor,
1054 [out, retval] IWICBitmapDecoder **ppIDecoder);
1056 HRESULT CreateEncoder(
1057 [in] REFGUID guidContainerFormat,
1058 [in, unique] const GUID *pguidVendor,
1059 [out, retval] IWICBitmapEncoder **ppIEncoder);
1061 HRESULT CreatePalette(
1062 [out] IWICPalette **ppIPalette);
1064 HRESULT CreateFormatConverter(
1065 [out] IWICFormatConverter **ppIFormatConverter);
1067 HRESULT CreateBitmapScaler(
1068 [out] IWICBitmapScaler **ppIBitmapScaler);
1070 HRESULT CreateBitmapClipper(
1071 [out] IWICBitmapClipper **ppIBitmapClipper);
1073 HRESULT CreateBitmapFlipRotator(
1074 [out] IWICBitmapFlipRotator **ppIBitmapFlipRotator);
1076 HRESULT CreateStream(
1077 [out] IWICStream **ppIWICStream);
1079 HRESULT CreateColorContext(
1080 [out] IWICColorContext **ppIWICColorContext);
1082 HRESULT CreateColorTransformer(
1083 [out] IWICColorTransform **ppIWICColorTransform);
1085 HRESULT CreateBitmap(
1086 [in] UINT uiWidth,
1087 [in] UINT uiHeight,
1088 [in] REFWICPixelFormatGUID pixelFormat,
1089 [in] WICBitmapCreateCacheOption option,
1090 [out] IWICBitmap **ppIBitmap);
1092 HRESULT CreateBitmapFromSource(
1093 [in] IWICBitmapSource *piBitmapSource,
1094 [in] WICBitmapCreateCacheOption option,
1095 [out] IWICBitmap **ppIBitmap);
1097 HRESULT CreateBitmapFromSourceRect(
1098 [in] IWICBitmapSource *piBitmapSource,
1099 [in] UINT x,
1100 [in] UINT y,
1101 [in] UINT width,
1102 [in] UINT height,
1103 [out] IWICBitmap **ppIBitmap);
1105 HRESULT CreateBitmapFromMemory(
1106 [in] UINT uiWidth,
1107 [in] UINT uiHeight,
1108 [in] REFWICPixelFormatGUID pixelFormat,
1109 [in] UINT cbStride,
1110 [in] UINT cbBufferSize,
1111 [in, size_is(cbBufferSize)] BYTE *pbBuffer,
1112 [out] IWICBitmap **ppIBitmap);
1114 HRESULT CreateBitmapFromHBITMAP(
1115 [in] HBITMAP hBitmap,
1116 [in, unique] HPALETTE hPalette,
1117 [in] WICBitmapAlphaChannelOption options,
1118 [out] IWICBitmap **ppIBitmap);
1120 HRESULT CreateBitmapFromHICON(
1121 [in] HICON hIcon,
1122 [out] IWICBitmap **ppIBitmap);
1124 HRESULT CreateComponentEnumerator(
1125 [in] DWORD componentTypes,
1126 [in] DWORD options,
1127 [out] IEnumUnknown **ppIEnumUnknown);
1129 HRESULT CreateFastMetadataEncoderFromDecoder(
1130 [in] IWICBitmapDecoder *pIDecoder,
1131 [out] IWICFastMetadataEncoder **ppIFastEncoder);
1133 HRESULT CreateFastMetadataEncoderFromFrameDecode(
1134 [in] IWICBitmapFrameDecode *pIFrameDecoder,
1135 [out] IWICFastMetadataEncoder **ppIFastEncoder);
1137 HRESULT CreateQueryWriter(
1138 [in] REFGUID guidMetadataFormat,
1139 [in, unique] const GUID *pguidVendor,
1140 [out] IWICMetadataQueryWriter **ppIQueryWriter);
1142 HRESULT CreateQueryWriterFromReader(
1143 [in] IWICMetadataQueryReader *pIQueryReader,
1144 [in, unique] const GUID *pguidVendor,
1145 [out] IWICMetadataQueryWriter **ppIQueryWriter);
1149 object,
1150 uuid(7b816b45-1996-4476-b132-de9e247c8af0),
1151 local
1153 interface IWICImagingFactory2 : IWICImagingFactory
1155 HRESULT CreateImageEncoder(
1156 [in] ID2D1Device *device,
1157 [out] IWICImageEncoder **encoder);
1161 local,
1162 object,
1163 uuid(dc2bb46d-3f07-481e-8625-220c4aedbb33)
1165 interface IWICEnumMetadataItem : IUnknown
1167 HRESULT Next(
1168 [in] ULONG celt,
1169 [in, out, unique, size_is(celt)] PROPVARIANT *rgeltSchema,
1170 [in, out, size_is(celt)] PROPVARIANT *rgeltId,
1171 [in, out, optional, size_is(celt)] PROPVARIANT *rgeltValue,
1172 [out, optional] ULONG *pceltFetched);
1174 HRESULT Skip(
1175 [in] ULONG celt);
1177 HRESULT Reset();
1179 HRESULT Clone(
1180 [out] IWICEnumMetadataItem **ppIEnumMetadataItem);
1184 object,
1185 uuid(409cd537-8532-40cb-9774-e2feb2df4e9c)
1187 interface IWICDdsDecoder : IUnknown
1189 HRESULT GetParameters(
1190 [out] WICDdsParameters *parameters);
1192 HRESULT GetFrame(
1193 [in] UINT arrayIndex,
1194 [in] UINT mipLevel,
1195 [in] UINT sliceIndex,
1196 [out, retval] IWICBitmapFrameDecode **bitmapFrame);
1200 object,
1201 uuid(5cacdb4c-407e-41b3-b936-d0f010cd6732)
1203 interface IWICDdsEncoder : IUnknown
1205 HRESULT SetParameters(
1206 [in] WICDdsParameters *parameters);
1208 HRESULT GetParameters(
1209 [out] WICDdsParameters *parameters);
1211 HRESULT CreateNewFrame(
1212 [out] IWICBitmapFrameEncode **frameEncode,
1213 [out, optional] UINT *arrayIndex,
1214 [out, optional] UINT *mipLevel,
1215 [out, optional] UINT *sliceIndex);
1219 object,
1220 uuid(3d4c0c61-18a4-41e4-bd80-481a4fc9f464)
1222 interface IWICDdsFrameDecode : IUnknown
1224 HRESULT GetSizeInBlocks(
1225 [out] UINT *widthInBlocks,
1226 [out] UINT *heightInBlocks);
1228 HRESULT GetFormatInfo(
1229 [out] WICDdsFormatInfo *formatInfo);
1231 HRESULT CopyBlocks(
1232 [in, unique] const WICRect *boundsInBlocks,
1233 [in] UINT stride,
1234 [in] UINT bufferSize,
1235 [out, size_is(bufferSize)] BYTE *buffer);
1239 object,
1240 uuid(b9bd430d-28a8-41d3-a1f5-f36ee02840bf)
1242 interface IWICWineDecoder : IUnknown
1244 HRESULT Initialize(
1245 [in] IStream *stream,
1246 [in] WICDecodeOptions options);
1249 cpp_quote("HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);")
1250 cpp_quote("HRESULT WINAPI WICCreateBitmapFromSection(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, IWICBitmap **bitmap);")
1251 cpp_quote("HRESULT WINAPI WICCreateBitmapFromSectionEx(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel access, IWICBitmap **bitmap);")
1253 cpp_quote("HRESULT WINAPI WICMapGuidToShortName(REFGUID,UINT,WCHAR *,UINT *);")
1254 cpp_quote("HRESULT WINAPI WICMapShortNameToGuid(PCWSTR,GUID *);")
1255 cpp_quote("HRESULT WINAPI WICMapSchemaToName(REFGUID,LPWSTR,UINT,WCHAR *,UINT *);")
1257 cpp_quote("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);")
1258 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);")
1259 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder1, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);")
1260 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder2, 0xe018945b,0xaa86,0x4008,0x9b,0xd4,0x67,0x77,0xa1,0xe4,0x0c,0x11);")
1261 cpp_quote("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);")
1262 cpp_quote("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);")
1263 cpp_quote("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);")
1264 cpp_quote("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);")
1265 cpp_quote("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);")
1266 cpp_quote("DEFINE_GUID(CLSID_WICDdsDecoder, 0x9053699f,0xa341,0x429d,0x9e,0x90,0xee,0x43,0x7c,0xf8,0x0c,0x73);")
1268 cpp_quote("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);")
1269 cpp_quote("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);")
1270 cpp_quote("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);")
1271 cpp_quote("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);")
1272 cpp_quote("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);")
1273 cpp_quote("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);")
1274 cpp_quote("DEFINE_GUID(CLSID_WICDdsEncoder, 0xa61dde94,0x66ce,0x4ac1,0x88,0x1b,0x71,0x68,0x05,0x88,0x89,0x5e);")
1275 cpp_quote("DEFINE_GUID(CLSID_WICAdngDecoder, 0x981d9411,0x909e,0x42a7,0x8f,0x5d,0xa7,0x47,0xff,0x05,0x2e,0xdb);")
1277 cpp_quote("DEFINE_GUID(CLSID_WICJpegQualcommPhoneEncoder, 0x68ed5c62,0xf534,0x4979,0xb2,0xb3,0x68,0x6a,0x12,0xb2,0xb3,0x4c);")
1279 cpp_quote("DEFINE_GUID(CLSID_WICHeifDecoder, 0xe9a4a80a,0x44fe,0x4de4,0x89,0x71,0x71,0x50,0xb1,0x0a,0x51,0x99);")
1280 cpp_quote("DEFINE_GUID(CLSID_WICHeifEncoder, 0x0dbecec1,0x9eb3,0x4860,0x9c,0x6f,0xdd,0xbe,0x86,0x63,0x45,0x75);")
1282 cpp_quote("DEFINE_GUID(CLSID_WICWebpDecoder, 0x7693e886,0x51c9,0x4070,0x84,0x19,0x9f,0x70,0x73,0x8e,0xc8,0xfa);")
1283 cpp_quote("DEFINE_GUID(CLSID_WICRAWDecoder, 0x41945702,0x8302,0x44a6,0x94,0x45,0xac,0x98,0xe8,0xaf,0xa0,0x86);")
1285 cpp_quote("DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1);")
1286 cpp_quote("DEFINE_GUID(CLSID_WICFormatConverterHighColor, 0xac75d454,0x9f37,0x48f8,0xb9,0x72,0x4e,0x19,0xbc,0x85,0x60,0x11);")
1287 cpp_quote("DEFINE_GUID(CLSID_WICFormatConverterNChannel, 0xc17cabb2,0xd4a3,0x47d7,0xa5,0x57,0x33,0x9b,0x2e,0xfb,0xd4,0xf1);")
1288 cpp_quote("DEFINE_GUID(CLSID_WICFormatConverterWMPhoto, 0x9cb5172b,0xd600,0x46ba,0xab,0x77,0x77,0xbb,0x7e,0x3a,0x00,0xd9);")
1289 cpp_quote("DEFINE_GUID(CLSID_WICPlanarFormatConverter, 0x184132b8,0x32f8,0x4784,0x91,0x31,0xdd,0x72,0x24,0xb2,0x34,0x38);")
1291 cpp_quote("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);")
1292 cpp_quote("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);")
1293 cpp_quote("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);")
1294 cpp_quote("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);")
1295 cpp_quote("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);")
1296 cpp_quote("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);")
1297 cpp_quote("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);")
1298 cpp_quote("DEFINE_GUID(GUID_ContainerFormatDds, 0x9967cb95,0x2e85,0x4ac8,0x8c,0xa2,0x83,0xd7,0xcc,0xd4,0x25,0xc9);")
1299 cpp_quote("DEFINE_GUID(GUID_ContainerFormatAdng, 0xf3ff6d0d,0x38c0,0x41c4,0xb1,0xfe,0x1f,0x38,0x24,0xf1,0x7b,0x84);")
1300 cpp_quote("DEFINE_GUID(GUID_ContainerFormatHeif, 0xe1e62521,0x6787,0x405b,0xa3,0x39,0x50,0x07,0x15,0xb5,0x76,0x3f);")
1301 cpp_quote("DEFINE_GUID(GUID_ContainerFormatWebp, 0xe094b0e2,0x67f2,0x45b3,0xb0,0xea,0x11,0x53,0x37,0xca,0x7c,0xf3);")
1302 cpp_quote("DEFINE_GUID(GUID_ContainerFormatRaw, 0xfe99ce60,0xf19c,0x433c,0xa3,0xae,0x00,0xac,0xef,0xa9,0xca,0x21);")
1304 cpp_quote("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);")
1305 cpp_quote("DEFINE_GUID(GUID_VendorMicrosoftBuiltIn, 0x257a30fd,0x6b6,0x462b,0xae,0xa4,0x63,0xf7,0xb,0x86,0xe5,0x33);")
1307 cpp_quote("DEFINE_GUID(CLSID_WICImagingCategories, 0xfae3d380,0xfea4,0x4623,0x8c,0x75,0xc6,0xb6,0x11,0x10,0xb6,0x81);")
1308 cpp_quote("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);")
1309 cpp_quote("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);")
1310 cpp_quote("DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48);")
1311 cpp_quote("DEFINE_GUID(CATID_WICMetadataReader, 0x05af94d8,0x7174,0x4cd2,0xbe,0x4a,0x41,0x24,0xb8,0x0e,0xe4,0xb8);")
1312 cpp_quote("DEFINE_GUID(CATID_WICMetadataWriter, 0xabe3b9a4,0x257d,0x4b97,0xbd,0x1a,0x29,0x4a,0xf4,0x96,0x22,0x2e);")
1313 cpp_quote("DEFINE_GUID(CATID_WICPixelFormats, 0x2b46e70f,0xcda7,0x473e,0x89,0xf6,0xdc,0x96,0x30,0xa2,0x39,0x0b);")