1 | /*
|
---|
2 | * Copyright 2009 Vincent Povirk for CodeWeavers
|
---|
3 | *
|
---|
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.
|
---|
8 | *
|
---|
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.
|
---|
13 | *
|
---|
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
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "wtypes.idl";
|
---|
29 | import "propidl.idl";
|
---|
30 | import "objidl.idl";
|
---|
31 | import "ocidl.idl";
|
---|
32 |
|
---|
33 | #define CODEC_FORCE_DWORD 0x7fffffff
|
---|
34 |
|
---|
35 | typedef enum WICDecodeOptions {
|
---|
36 | WICDecodeMetadataCacheOnDemand = 0x00000000,
|
---|
37 | WICDecodeMetadataCacheOnLoad = 0x00000001,
|
---|
38 | WICMETADATACACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
39 | } WICDecodeOptions;
|
---|
40 |
|
---|
41 | typedef enum WICBitmapCreateCacheOption {
|
---|
42 | WICBitmapNoCache = 0x00000000,
|
---|
43 | WICBitmapCacheOnDemand = 0x00000001,
|
---|
44 | WICBitmapCacheOnLoad = 0x00000002,
|
---|
45 | WICBITMAPCREATECACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
46 | } WICBitmapCreateCacheOption;
|
---|
47 |
|
---|
48 | typedef enum WICBitmapAlphaChannelOption {
|
---|
49 | WICBitmapUseAlpha = 0x00000000,
|
---|
50 | WICBitmapUsePremultipliedAlpha = 0x00000001,
|
---|
51 | WICBitmapIgnoreAlpha = 0x00000002,
|
---|
52 | WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
53 | } WICBitmapAlphaChannelOption;
|
---|
54 |
|
---|
55 | typedef enum WICBitmapDecoderCapabilities {
|
---|
56 | WICBitmapDecoderCapabilitySameEncoder = 0x00000001,
|
---|
57 | WICBitmapDecoderCapabilityCanDecodeAllImages = 0x00000002,
|
---|
58 | WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x00000004,
|
---|
59 | WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x00000008,
|
---|
60 | WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x00000010,
|
---|
61 | } WICBitmapDecoderCapabilities;
|
---|
62 |
|
---|
63 | typedef enum WICBitmapDitherType {
|
---|
64 | WICBitmapDitherTypeNone = 0x00000000,
|
---|
65 | WICBitmapDitherTypeSolid = 0x00000000,
|
---|
66 | WICBitmapDitherTypeOrdered4x4 = 0x00000001,
|
---|
67 | WICBitmapDitherTypeOrdered8x8 = 0x00000002,
|
---|
68 | WICBitmapDitherTypeOrdered16x16 = 0x00000003,
|
---|
69 | WICBitmapDitherTypeSpiral4x4 = 0x00000004,
|
---|
70 | WICBitmapDitherTypeSpiral8x8 = 0x00000005,
|
---|
71 | WICBitmapDitherTypeDualSpiral4x4 = 0x00000006,
|
---|
72 | WICBitmapDitherTypeDualSpiral8x8 = 0x00000007,
|
---|
73 | WICBitmapDitherTypeErrorDiffusion = 0x00000008,
|
---|
74 | WICBITMAPDITHERTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
75 | } WICBitmapDitherType;
|
---|
76 |
|
---|
77 | typedef enum WICBitmapEncoderCacheOption {
|
---|
78 | WICBitmapEncoderCacheInMemory = 0x00000000,
|
---|
79 | WICBitmapEncoderCacheTempFile = 0x00000001,
|
---|
80 | WICBitmapEncoderNoCache = 0x00000002,
|
---|
81 | WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
82 | } WICBitmapEncoderCacheOption;
|
---|
83 |
|
---|
84 | typedef enum WICBitmapInterpolationMode {
|
---|
85 | WICBitmapInterpolationModeNearestNeighbor = 0x00000000,
|
---|
86 | WICBitmapInterpolationModeLinear = 0x00000001,
|
---|
87 | WICBitmapInterpolationModeCubic = 0x00000002,
|
---|
88 | WICBitmapInterpolationModeFaint = 0x00000003,
|
---|
89 | WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
90 | } WICBitmapInterpolationMode;
|
---|
91 |
|
---|
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;
|
---|
109 |
|
---|
110 | typedef enum WICComponentType {
|
---|
111 | WICDecoder = 0x00000001,
|
---|
112 | WICEncoder = 0x00000002,
|
---|
113 | WICPixelFormatConverter = 0x00000004,
|
---|
114 | WICMetadataReader = 0x00000008,
|
---|
115 | WICMetadataWriter = 0x00000010,
|
---|
116 | WICPixelFormat = 0x00000020,
|
---|
117 | WICCOMPONENTTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
|
---|
118 | } WICComponentType;
|
---|
119 |
|
---|
120 | typedef enum WICComponentSigning {
|
---|
121 | WICComponentSigned = 0x00000001,
|
---|
122 | WICComponentUnsigned = 0x00000002,
|
---|
123 | WICComponentSafe = 0x00000004,
|
---|
124 | WICComponentDisabled = 0x80000000
|
---|
125 | } WICComponentSigning;
|
---|
126 |
|
---|
127 | typedef enum WICComponentEnumerateOptions {
|
---|
128 | WICComponentEnumerateDefault = 0x00000000,
|
---|
129 | WICComponentEnumerateRefresh = 0x00000001,
|
---|
130 | WICComponentEnumerateBuiltInOnly = 0x20000000,
|
---|
131 | WICComponentEnumerateUnsigned = 0x40000000,
|
---|
132 | WICComponentEnumerateDisabled = 0x80000000
|
---|
133 | } WICComponentEnumerateOptions;
|
---|
134 |
|
---|
135 | typedef GUID WICPixelFormatGUID;
|
---|
136 | typedef REFGUID REFWICPixelFormatGUID;
|
---|
137 |
|
---|
138 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);")
|
---|
139 | cpp_quote("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare")
|
---|
140 |
|
---|
141 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);")
|
---|
142 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);")
|
---|
143 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);")
|
---|
144 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);")
|
---|
145 |
|
---|
146 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05);")
|
---|
147 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06);")
|
---|
148 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07);")
|
---|
149 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08);")
|
---|
150 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b);")
|
---|
151 |
|
---|
152 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);")
|
---|
153 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);")
|
---|
154 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);")
|
---|
155 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);")
|
---|
156 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);")
|
---|
157 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);")
|
---|
158 |
|
---|
159 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15);")
|
---|
160 | cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16);")
|
---|
161 |
|
---|
162 | typedef struct WICRect {
|
---|
163 | INT X;
|
---|
164 | INT Y;
|
---|
165 | INT Width;
|
---|
166 | INT Height;
|
---|
167 | } WICRect;
|
---|
168 |
|
---|
169 | typedef struct WICBitmapPattern {
|
---|
170 | ULARGE_INTEGER Position;
|
---|
171 | ULONG Length;
|
---|
172 | BYTE *Pattern;
|
---|
173 | BYTE *Mask;
|
---|
174 | BOOL EndOfStream;
|
---|
175 | } WICBitmapPattern;
|
---|
176 |
|
---|
177 | typedef UINT32 WICColor;
|
---|
178 |
|
---|
179 | cpp_quote("#define WINCODEC_ERR_WRONGSTATE 0x88982f04")
|
---|
180 | cpp_quote("#define WINCODEC_ERR_NOTINITIALIZED 0x88982f0c")
|
---|
181 | cpp_quote("#define WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44")
|
---|
182 | cpp_quote("#define WINCODEC_ERR_PALETTEUNAVAILABLE 0x88982f45")
|
---|
183 | cpp_quote("#define WINCODEC_ERR_COMPONENTNOTFOUND 0x88982f50")
|
---|
184 | cpp_quote("#define WINCODEC_ERR_FRAMEMISSING 0x88982f62")
|
---|
185 | cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT 0x88982f80")
|
---|
186 | cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81")
|
---|
187 | cpp_quote("#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c")
|
---|
188 |
|
---|
189 | interface IWICPalette;
|
---|
190 | interface IWICBitmapFlipRotator;
|
---|
191 | interface IWICColorContext;
|
---|
192 | interface IWICColorTransform;
|
---|
193 | interface IWICFastMetadataEncoder;
|
---|
194 | interface IWICMetadataQueryReader;
|
---|
195 | interface IWICMetadataQueryWriter;
|
---|
196 |
|
---|
197 | [
|
---|
198 | object,
|
---|
199 | uuid(00000120-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
200 | ]
|
---|
201 | interface IWICBitmapSource : IUnknown
|
---|
202 | {
|
---|
203 | HRESULT GetSize(
|
---|
204 | [out] UINT *puiWidth,
|
---|
205 | [out] UINT *puiHeight);
|
---|
206 |
|
---|
207 | HRESULT GetPixelFormat(
|
---|
208 | [out] WICPixelFormatGUID *pPixelFormat);
|
---|
209 |
|
---|
210 | HRESULT GetResolution(
|
---|
211 | [out] double *pDpiX,
|
---|
212 | [out] double *pDpiY);
|
---|
213 |
|
---|
214 | HRESULT CopyPalette(
|
---|
215 | [in] IWICPalette *pIPalette);
|
---|
216 |
|
---|
217 | HRESULT CopyPixels(
|
---|
218 | [in] const WICRect *prc,
|
---|
219 | [in] UINT cbStride,
|
---|
220 | [in] UINT cbBufferSize,
|
---|
221 | [out, size_is(cbBufferSize)] BYTE *pbBuffer);
|
---|
222 | }
|
---|
223 |
|
---|
224 | [
|
---|
225 | object,
|
---|
226 | uuid(00000123-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
227 | ]
|
---|
228 | interface IWICBitmapLock : IUnknown
|
---|
229 | {
|
---|
230 | HRESULT GetSize(
|
---|
231 | [out] UINT *pWidth,
|
---|
232 | [out] UINT *pHeight);
|
---|
233 |
|
---|
234 | HRESULT GetStride(
|
---|
235 | [out] UINT *pcbStride);
|
---|
236 |
|
---|
237 | HRESULT GetDataPointer(
|
---|
238 | [out] UINT *pcbBufferSize,
|
---|
239 | [out, size_is(,*pcbBufferSize)] BYTE **ppbData);
|
---|
240 |
|
---|
241 | HRESULT GetPixelFormat(
|
---|
242 | [out] WICPixelFormatGUID *pPixelFormat);
|
---|
243 | }
|
---|
244 |
|
---|
245 | [
|
---|
246 | object,
|
---|
247 | uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
248 | ]
|
---|
249 | interface IWICBitmap : IWICBitmapSource
|
---|
250 | {
|
---|
251 | HRESULT Lock(
|
---|
252 | [in] const WICRect *prcLock,
|
---|
253 | [in] DWORD flags,
|
---|
254 | [out] IWICBitmapLock **ppILock);
|
---|
255 |
|
---|
256 | HRESULT SetPalette(
|
---|
257 | [in] IWICPalette *pIPalette);
|
---|
258 |
|
---|
259 | HRESULT SetResolution(
|
---|
260 | [in] double dpiX,
|
---|
261 | [in] double dpiY);
|
---|
262 | }
|
---|
263 |
|
---|
264 | [
|
---|
265 | object,
|
---|
266 | uuid(00000040-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
267 | ]
|
---|
268 | interface IWICPalette : IUnknown
|
---|
269 | {
|
---|
270 | HRESULT InitializePredefined(
|
---|
271 | [in] WICBitmapPaletteType ePaletteType,
|
---|
272 | [in] BOOL fAddTransparentColor);
|
---|
273 |
|
---|
274 | HRESULT InitializeCustom(
|
---|
275 | [in, size_is(colorCount)] WICColor *pColors,
|
---|
276 | [in] UINT colorCount);
|
---|
277 |
|
---|
278 | HRESULT InitializeFromBitmap(
|
---|
279 | [in] IWICBitmapSource *pISurface,
|
---|
280 | [in] UINT colorCount,
|
---|
281 | [in] BOOL fAddTransparentColor);
|
---|
282 |
|
---|
283 | HRESULT InitializeFromPalette(
|
---|
284 | [in] IWICPalette *pIPalette);
|
---|
285 |
|
---|
286 | HRESULT GetType(
|
---|
287 | [out] WICBitmapPaletteType *pePaletteType);
|
---|
288 |
|
---|
289 | HRESULT GetColorCount(
|
---|
290 | [out] UINT *pcCount);
|
---|
291 |
|
---|
292 | HRESULT GetColors(
|
---|
293 | [in] UINT colorCount,
|
---|
294 | [out, size_is(colorCount)] WICColor *pColors,
|
---|
295 | [out] UINT *pcActualColors);
|
---|
296 |
|
---|
297 | HRESULT IsBlackWhite(
|
---|
298 | [out] BOOL *pfIsBlackWhite);
|
---|
299 |
|
---|
300 | HRESULT IsGrayscale(
|
---|
301 | [out] BOOL *pfIsGrayscale);
|
---|
302 |
|
---|
303 | HRESULT HasAlpha(
|
---|
304 | [out] BOOL *pfHasAlpha);
|
---|
305 | }
|
---|
306 |
|
---|
307 | [
|
---|
308 | object,
|
---|
309 | uuid(23bc3f0a-698b-4357-886b-f24d50671334)
|
---|
310 | ]
|
---|
311 | interface IWICComponentInfo : IUnknown
|
---|
312 | {
|
---|
313 | HRESULT GetComponentType(
|
---|
314 | [out] WICComponentType *pType);
|
---|
315 |
|
---|
316 | HRESULT GetCLSID(
|
---|
317 | [out] CLSID *pclsid);
|
---|
318 |
|
---|
319 | HRESULT GetSigningStatus(
|
---|
320 | [out] DWORD *pStatus);
|
---|
321 |
|
---|
322 | HRESULT GetAuthor(
|
---|
323 | [in] UINT cchAuthor,
|
---|
324 | [in, out, unique, size_is(cchAuthor)] WCHAR *wzAuthor,
|
---|
325 | [out] UINT *pcchActual);
|
---|
326 |
|
---|
327 | HRESULT GetVendorGUID(
|
---|
328 | [out] GUID *pguidVendor);
|
---|
329 |
|
---|
330 | HRESULT GetVersion(
|
---|
331 | [in] UINT cchVersion,
|
---|
332 | [in, out, unique, size_is(cchVersion)] WCHAR *wzVersion,
|
---|
333 | [out] UINT *pcchActual);
|
---|
334 |
|
---|
335 | HRESULT GetSpecVersion(
|
---|
336 | [in] UINT cchSpecVersion,
|
---|
337 | [in, out, unique, size_is(cchSpecVersion)] WCHAR *wzSpecVersion,
|
---|
338 | [out] UINT *pcchActual);
|
---|
339 |
|
---|
340 | HRESULT GetFriendlyName(
|
---|
341 | [in] UINT cchFriendlyName,
|
---|
342 | [in, out, unique, size_is(cchFriendlyName)] WCHAR *wzFriendlyName,
|
---|
343 | [out] UINT *pcchActual);
|
---|
344 | }
|
---|
345 |
|
---|
346 | [
|
---|
347 | object,
|
---|
348 | uuid(3b16811b-6a43-4ec9-a813-3d930c13b940)
|
---|
349 | ]
|
---|
350 | interface IWICBitmapFrameDecode : IWICBitmapSource
|
---|
351 | {
|
---|
352 | HRESULT GetMetadataQueryReader(
|
---|
353 | [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
|
---|
354 |
|
---|
355 | HRESULT GetColorContexts(
|
---|
356 | [in] UINT cCount,
|
---|
357 | [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
|
---|
358 | [out] UINT *pcActualCount);
|
---|
359 |
|
---|
360 | HRESULT GetThumbnail(
|
---|
361 | [out] IWICBitmapSource **ppIThumbnail);
|
---|
362 | }
|
---|
363 |
|
---|
364 | [
|
---|
365 | object,
|
---|
366 | uuid(e87a44c4-b76e-4c47-8b09-298eb12a2714)
|
---|
367 | ]
|
---|
368 | interface IWICBitmapCodecInfo : IWICComponentInfo
|
---|
369 | {
|
---|
370 | HRESULT GetContainerFormat(
|
---|
371 | [out] GUID *pguidContainerFormat);
|
---|
372 |
|
---|
373 | HRESULT GetPixelFormats(
|
---|
374 | [in] UINT cFormats,
|
---|
375 | [in, out, unique, size_is(cFormats)] GUID *pguidPixelFormats,
|
---|
376 | [out] UINT *pcActual);
|
---|
377 |
|
---|
378 | HRESULT GetColorManagementVersion(
|
---|
379 | [in] UINT cchColorManagementVersion,
|
---|
380 | [in, out, unique, size_is(cchColorManagementVersion)] WCHAR *wzColorManagementVersion,
|
---|
381 | [out] UINT *pcchActual);
|
---|
382 |
|
---|
383 | HRESULT GetDeviceManufacturer(
|
---|
384 | [in] UINT cchDeviceManufacturer,
|
---|
385 | [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer,
|
---|
386 | [out] UINT *pcchActual);
|
---|
387 |
|
---|
388 | HRESULT GetDeviceModels(
|
---|
389 | [in] UINT cchDeviceModels,
|
---|
390 | [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels,
|
---|
391 | [out] UINT *pcchActual);
|
---|
392 |
|
---|
393 | HRESULT GetMimeTypes(
|
---|
394 | [in] UINT cchMimeTypes,
|
---|
395 | [in, out, unique, size_is(cchMimeTypes)] WCHAR *wzMimeTypes,
|
---|
396 | [out] UINT *pcchActual);
|
---|
397 |
|
---|
398 | HRESULT GetFileExtensions(
|
---|
399 | [in] UINT cchFileExtensions,
|
---|
400 | [in, out, unique, size_is(cchFileExtensions)] WCHAR *wzFileExtensions,
|
---|
401 | [out] UINT *pcchActual);
|
---|
402 |
|
---|
403 | HRESULT DoesSupportAnimation(
|
---|
404 | [out] BOOL *pfSupportAnimation);
|
---|
405 |
|
---|
406 | HRESULT DoesSupportChromaKey(
|
---|
407 | [out] BOOL *pfSupportChromaKey);
|
---|
408 |
|
---|
409 | HRESULT DoesSupportLossless(
|
---|
410 | [out] BOOL *pfSupportLossless);
|
---|
411 |
|
---|
412 | HRESULT DoesSupportMultiframe(
|
---|
413 | [out] BOOL *pfSupportMultiframe);
|
---|
414 |
|
---|
415 | HRESULT MatchesMimeType(
|
---|
416 | [in] LPCWSTR wzMimeType,
|
---|
417 | [out] BOOL *pfMatches);
|
---|
418 | }
|
---|
419 |
|
---|
420 | interface IWICBitmapDecoder;
|
---|
421 |
|
---|
422 | [
|
---|
423 | object,
|
---|
424 | uuid(d8cd007f-d08f-4191-9bfc-236ea7f0e4b5)
|
---|
425 | ]
|
---|
426 | interface IWICBitmapDecoderInfo : IWICBitmapCodecInfo
|
---|
427 | {
|
---|
428 | [local]
|
---|
429 | HRESULT GetPatterns(
|
---|
430 | [in] UINT cbSizePatterns,
|
---|
431 | [in, out, unique] WICBitmapPattern *pPatterns,
|
---|
432 | [in, out, unique] UINT *pcPatterns,
|
---|
433 | [in, out, unique] UINT *pcbPatternsActual);
|
---|
434 |
|
---|
435 | HRESULT MatchesPattern(
|
---|
436 | [in] IStream *pIStream,
|
---|
437 | [out] BOOL *pfMatches);
|
---|
438 |
|
---|
439 | HRESULT CreateInstance(
|
---|
440 | [out] IWICBitmapDecoder **ppIBitmapDecoder);
|
---|
441 | }
|
---|
442 |
|
---|
443 | [
|
---|
444 | object,
|
---|
445 | uuid(9edde9e7-8dee-47ea-99df-e6faf2ed44bf)
|
---|
446 | ]
|
---|
447 | interface IWICBitmapDecoder : IUnknown
|
---|
448 | {
|
---|
449 | HRESULT QueryCapability(
|
---|
450 | [in] IStream *pIStream,
|
---|
451 | [out] DWORD *pdwCapability);
|
---|
452 |
|
---|
453 | HRESULT Initialize(
|
---|
454 | [in] IStream *pIStream,
|
---|
455 | [in] WICDecodeOptions cacheOptions);
|
---|
456 |
|
---|
457 | HRESULT GetContainerFormat(
|
---|
458 | [out] GUID *pguidContainerFormat);
|
---|
459 |
|
---|
460 | HRESULT GetDecoderInfo(
|
---|
461 | [out] IWICBitmapDecoderInfo **ppIDecoderInfo);
|
---|
462 |
|
---|
463 | HRESULT CopyPalette(
|
---|
464 | [in] IWICPalette *pIPalette);
|
---|
465 |
|
---|
466 | HRESULT GetMetadataQueryReader(
|
---|
467 | [out] IWICMetadataQueryReader **ppIMetadataQueryReader);
|
---|
468 |
|
---|
469 | HRESULT GetPreview(
|
---|
470 | [out] IWICBitmapSource **ppIBitmapSource);
|
---|
471 |
|
---|
472 | HRESULT GetColorContexts(
|
---|
473 | [in] UINT cCount,
|
---|
474 | [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts,
|
---|
475 | [out] UINT *pcActualCount);
|
---|
476 |
|
---|
477 | HRESULT GetThumbnail(
|
---|
478 | [out] IWICBitmapSource **ppIThumbnail);
|
---|
479 |
|
---|
480 | HRESULT GetFrameCount(
|
---|
481 | [out] UINT *pCount);
|
---|
482 |
|
---|
483 | HRESULT GetFrame(
|
---|
484 | [in] UINT index,
|
---|
485 | [out] IWICBitmapFrameDecode **ppIBitmapFrame);
|
---|
486 | }
|
---|
487 |
|
---|
488 | [
|
---|
489 | object,
|
---|
490 | uuid(00000105-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
491 | ]
|
---|
492 | interface IWICBitmapFrameEncode : IUnknown
|
---|
493 | {
|
---|
494 | HRESULT Initialize(
|
---|
495 | [in, unique] IPropertyBag2 *pIEncoderOptions);
|
---|
496 |
|
---|
497 | HRESULT SetSize(
|
---|
498 | [in] UINT uiWidth,
|
---|
499 | [in] UINT uiHeight);
|
---|
500 |
|
---|
501 | HRESULT SetResolution(
|
---|
502 | [in] double dpiX,
|
---|
503 | [in] double dpiY);
|
---|
504 |
|
---|
505 | HRESULT SetPixelFormat(
|
---|
506 | [in, out] WICPixelFormatGUID *pPixelFormat);
|
---|
507 |
|
---|
508 | HRESULT SetColorContexts(
|
---|
509 | [in] UINT cCount,
|
---|
510 | [in, size_is(cCount)] IWICColorContext **ppIColorContext);
|
---|
511 |
|
---|
512 | HRESULT SetPalette(
|
---|
513 | [in] IWICPalette *pIPalette);
|
---|
514 |
|
---|
515 | HRESULT SetThumbnail(
|
---|
516 | [in] IWICBitmapSource *pIThumbnail);
|
---|
517 |
|
---|
518 | HRESULT WritePixels(
|
---|
519 | [in] UINT lineCount,
|
---|
520 | [in] UINT cbStride,
|
---|
521 | [in] UINT cbBufferSize,
|
---|
522 | [in, size_is(cbBufferSize)] BYTE *pbPixels);
|
---|
523 |
|
---|
524 | HRESULT WriteSource(
|
---|
525 | [in] IWICBitmapSource *pIBitmapSource,
|
---|
526 | [in, unique] WICRect *prc);
|
---|
527 |
|
---|
528 | HRESULT Commit();
|
---|
529 |
|
---|
530 | HRESULT GetMetadataQueryWriter(
|
---|
531 | IWICMetadataQueryWriter **ppIMetadataQueryWriter);
|
---|
532 | }
|
---|
533 |
|
---|
534 | interface IWICBitmapEncoder;
|
---|
535 |
|
---|
536 | [
|
---|
537 | object,
|
---|
538 | uuid(94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb)
|
---|
539 | ]
|
---|
540 | interface IWICBitmapEncoderInfo : IWICBitmapCodecInfo
|
---|
541 | {
|
---|
542 | HRESULT CreateInstance(
|
---|
543 | [out] IWICBitmapEncoder **ppIBitmapEncoder);
|
---|
544 | }
|
---|
545 |
|
---|
546 | [
|
---|
547 | object,
|
---|
548 | uuid(00000103-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
549 | ]
|
---|
550 | interface IWICBitmapEncoder : IUnknown
|
---|
551 | {
|
---|
552 | HRESULT Initialize(
|
---|
553 | [in] IStream *pIStream,
|
---|
554 | [in] WICBitmapEncoderCacheOption cacheOption);
|
---|
555 |
|
---|
556 | HRESULT GetContainerFormat(
|
---|
557 | [out] GUID *pguidContainerFormat);
|
---|
558 |
|
---|
559 | HRESULT GetEncoderInfo(
|
---|
560 | [out] IWICBitmapEncoderInfo **ppIEncoderInfo);
|
---|
561 |
|
---|
562 | HRESULT SetColorContexts(
|
---|
563 | [in] UINT cCount,
|
---|
564 | [in, size_is(cCount)] IWICColorContext **ppIColorContext);
|
---|
565 |
|
---|
566 | HRESULT SetPalette(
|
---|
567 | [in] IWICPalette *pIPalette);
|
---|
568 |
|
---|
569 | HRESULT SetThumbnail(
|
---|
570 | [in] IWICBitmapSource *pIThumbnail);
|
---|
571 |
|
---|
572 | HRESULT SetPreview(
|
---|
573 | [in] IWICBitmapSource *pIPreview);
|
---|
574 |
|
---|
575 | HRESULT CreateNewFrame(
|
---|
576 | [out] IWICBitmapFrameEncode **ppIFrameEncode,
|
---|
577 | [in, out, unique] IPropertyBag2 **ppIEncoderOptions);
|
---|
578 |
|
---|
579 | HRESULT Commit();
|
---|
580 |
|
---|
581 | HRESULT GetMetadataQueryWriter(
|
---|
582 | [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter);
|
---|
583 | }
|
---|
584 |
|
---|
585 | [
|
---|
586 | object,
|
---|
587 | uuid(00000301-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
588 | ]
|
---|
589 | interface IWICFormatConverter : IWICBitmapSource
|
---|
590 | {
|
---|
591 | HRESULT Initialize(
|
---|
592 | [in] IWICBitmapSource *pISource,
|
---|
593 | [in] REFWICPixelFormatGUID dstFormat,
|
---|
594 | [in] WICBitmapDitherType dither,
|
---|
595 | [in] IWICPalette *pIPalette,
|
---|
596 | [in] double alphaThresholdPercent,
|
---|
597 | [in] WICBitmapPaletteType paletteTranslate);
|
---|
598 |
|
---|
599 | HRESULT CanConvert(
|
---|
600 | [in] REFWICPixelFormatGUID srcPixelFormat,
|
---|
601 | [in] REFWICPixelFormatGUID dstPixelFormat,
|
---|
602 | [out] BOOL *pfCanConvert);
|
---|
603 | }
|
---|
604 |
|
---|
605 | [
|
---|
606 | object,
|
---|
607 | uuid(9f34fb65-13f4-4f15-bc57-3726b5e53d9f)
|
---|
608 | ]
|
---|
609 | interface IWICFormatConverterInfo : IWICComponentInfo
|
---|
610 | {
|
---|
611 | HRESULT GetPixelFormats(
|
---|
612 | [in] UINT cFormats,
|
---|
613 | [in, out, size_is(cFormats)] WICPixelFormatGUID *pPixelFormatGUIDs,
|
---|
614 | [out] UINT *pcActual);
|
---|
615 |
|
---|
616 | HRESULT CreateInstance(
|
---|
617 | [out] IWICFormatConverter **ppIConverter);
|
---|
618 | }
|
---|
619 |
|
---|
620 | [
|
---|
621 | object,
|
---|
622 | uuid(135ff860-22b7-4ddf-b0f6-218f4f299a43)
|
---|
623 | ]
|
---|
624 | interface IWICStream : IStream
|
---|
625 | {
|
---|
626 | HRESULT InitializeFromIStream(
|
---|
627 | [in] IStream *pIStream);
|
---|
628 |
|
---|
629 | HRESULT InitializeFromFilename(
|
---|
630 | [in] LPCWSTR wzFileName,
|
---|
631 | [in] DWORD dwAccessMode);
|
---|
632 |
|
---|
633 | HRESULT InitializeFromMemory(
|
---|
634 | [in, size_is(cbBufferSize)] BYTE *pbBuffer,
|
---|
635 | [in] DWORD cbBufferSize);
|
---|
636 |
|
---|
637 | HRESULT InitializeFromIStreamRegion(
|
---|
638 | [in] IStream *pIStream,
|
---|
639 | [in] ULARGE_INTEGER ulOffset,
|
---|
640 | [in] ULARGE_INTEGER ulMaxSize);
|
---|
641 | }
|
---|
642 |
|
---|
643 | [
|
---|
644 | object,
|
---|
645 | uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94)
|
---|
646 | ]
|
---|
647 | interface IWICBitmapScaler : IWICBitmapSource
|
---|
648 | {
|
---|
649 | HRESULT Initialize(
|
---|
650 | [in] IWICBitmapSource *pISource,
|
---|
651 | [in] UINT uiWidth,
|
---|
652 | [in] UINT uiHeight,
|
---|
653 | [in] WICBitmapInterpolationMode mode);
|
---|
654 | }
|
---|
655 |
|
---|
656 | [
|
---|
657 | object,
|
---|
658 | uuid(e4fbcf03-223d-4e81-9333-d635556dd1b5)
|
---|
659 | ]
|
---|
660 | interface IWICBitmapClipper : IWICBitmapSource
|
---|
661 | {
|
---|
662 | HRESULT Initialize(
|
---|
663 | [in] IWICBitmapSource *pISource,
|
---|
664 | [in] const WICRect *prc);
|
---|
665 | }
|
---|
666 |
|
---|
667 | cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
|
---|
668 |
|
---|
669 | [
|
---|
670 | object,
|
---|
671 | uuid(ec5ec8a9-c395-4314-9c77-54d7a935ff70)
|
---|
672 | ]
|
---|
673 | interface IWICImagingFactory : IUnknown
|
---|
674 | {
|
---|
675 | HRESULT CreateDecoderFromFilename(
|
---|
676 | [in] LPCWSTR wzFilename,
|
---|
677 | [in, unique] const GUID *pguidVendor,
|
---|
678 | [in] DWORD dwDesiredAccess,
|
---|
679 | [in] WICDecodeOptions metadataOptions,
|
---|
680 | [out, retval] IWICBitmapDecoder **ppIDecoder);
|
---|
681 |
|
---|
682 | HRESULT CreateDecoderFromStream(
|
---|
683 | [in] IStream *pIStream,
|
---|
684 | [in, unique] const GUID *pguidVendor,
|
---|
685 | [in] WICDecodeOptions metadataOptions,
|
---|
686 | [out, retval] IWICBitmapDecoder **ppIDecoder);
|
---|
687 |
|
---|
688 | HRESULT CreateDecoderFromFileHandle(
|
---|
689 | [in] ULONG_PTR hFile,
|
---|
690 | [in, unique] const GUID *pguidVendor,
|
---|
691 | [in] WICDecodeOptions metadataOptions,
|
---|
692 | [out, retval] IWICBitmapDecoder **ppIDecoder);
|
---|
693 |
|
---|
694 | HRESULT CreateComponentInfo(
|
---|
695 | [in] REFCLSID clsidComponent,
|
---|
696 | [out] IWICComponentInfo **ppIInfo);
|
---|
697 |
|
---|
698 | HRESULT CreateDecoder(
|
---|
699 | [in] REFGUID guidContainerFormat,
|
---|
700 | [in, unique] const GUID *pguidVendor,
|
---|
701 | [out, retval] IWICBitmapDecoder **ppIDecoder);
|
---|
702 |
|
---|
703 | HRESULT CreateEncoder(
|
---|
704 | [in] REFGUID guidContainerFormat,
|
---|
705 | [in, unique] const GUID *pguidVendor,
|
---|
706 | [out, retval] IWICBitmapEncoder **ppIEncoder);
|
---|
707 |
|
---|
708 | HRESULT CreatePalette(
|
---|
709 | [out] IWICPalette **ppIPalette);
|
---|
710 |
|
---|
711 | HRESULT CreateFormatConverter(
|
---|
712 | [out] IWICFormatConverter **ppIFormatConverter);
|
---|
713 |
|
---|
714 | HRESULT CreateBitmapScaler(
|
---|
715 | [out] IWICBitmapScaler **ppIBitmapScaler);
|
---|
716 |
|
---|
717 | HRESULT CreateBitmapClipper(
|
---|
718 | [out] IWICBitmapClipper **ppIBitmapClipper);
|
---|
719 |
|
---|
720 | HRESULT CreateBitmapFlipRotator(
|
---|
721 | [out] IWICBitmapFlipRotator **ppIBitmapFlipRotator);
|
---|
722 |
|
---|
723 | HRESULT CreateStream(
|
---|
724 | [out] IWICStream **ppIWICStream);
|
---|
725 |
|
---|
726 | HRESULT CreateColorContext(
|
---|
727 | [out] IWICColorContext **ppIWICColorContext);
|
---|
728 |
|
---|
729 | HRESULT CreateColorTransformer(
|
---|
730 | [out] IWICColorTransform **ppIWICColorTransform);
|
---|
731 |
|
---|
732 | HRESULT CreateBitmap(
|
---|
733 | [in] UINT uiWidth,
|
---|
734 | [in] UINT uiHeight,
|
---|
735 | [in] REFWICPixelFormatGUID pixelFormat,
|
---|
736 | [in] WICBitmapCreateCacheOption option,
|
---|
737 | [out] IWICBitmap **ppIBitmap);
|
---|
738 |
|
---|
739 | HRESULT CreateBitmapFromSource(
|
---|
740 | [in] IWICBitmapSource *piBitmapSource,
|
---|
741 | [in] WICBitmapCreateCacheOption option,
|
---|
742 | [out] IWICBitmap **ppIBitmap);
|
---|
743 |
|
---|
744 | HRESULT CreateBitmapFromSourceRect(
|
---|
745 | [in] IWICBitmapSource *piBitmapSource,
|
---|
746 | [in] UINT x,
|
---|
747 | [in] UINT y,
|
---|
748 | [in] UINT width,
|
---|
749 | [in] UINT height,
|
---|
750 | [out] IWICBitmap **ppIBitmap);
|
---|
751 |
|
---|
752 | HRESULT CreateBitmapFromMemory(
|
---|
753 | [in] UINT uiWidth,
|
---|
754 | [in] UINT uiHeight,
|
---|
755 | [in] REFWICPixelFormatGUID pixelFormat,
|
---|
756 | [in] UINT cbStride,
|
---|
757 | [in] UINT cbBufferSize,
|
---|
758 | [in, size_is(cbBufferSize)] BYTE *pbBuffer,
|
---|
759 | [out] IWICBitmap **ppIBitmap);
|
---|
760 |
|
---|
761 | HRESULT CreateBitmapFromHBITMAP(
|
---|
762 | [in] HBITMAP hBitmap,
|
---|
763 | [in, unique] HPALETTE hPalette,
|
---|
764 | [in] WICBitmapAlphaChannelOption options,
|
---|
765 | [out] IWICBitmap **ppIBitmap);
|
---|
766 |
|
---|
767 | HRESULT CreateBitmapFromHICON(
|
---|
768 | [in] HICON hIcon,
|
---|
769 | [out] IWICBitmap **ppIBitmap);
|
---|
770 |
|
---|
771 | HRESULT CreateComponentEnumerator(
|
---|
772 | [in] DWORD componentTypes,
|
---|
773 | [in] DWORD options,
|
---|
774 | [out] IEnumUnknown **ppIEnumUnknown);
|
---|
775 |
|
---|
776 | HRESULT CreateFastMetadataEncoderFromDecoder(
|
---|
777 | [in] IWICBitmapDecoder *pIDecoder,
|
---|
778 | [out] IWICFastMetadataEncoder **ppIFastEncoder);
|
---|
779 |
|
---|
780 | HRESULT CreateFastMetadataEncoderFromFrameDecode(
|
---|
781 | [in] IWICBitmapFrameDecode *pIFrameDecoder,
|
---|
782 | [out] IWICFastMetadataEncoder **ppIFastEncoder);
|
---|
783 |
|
---|
784 | HRESULT CreateQueryWriter(
|
---|
785 | [in] REFGUID guidMetadataFormat,
|
---|
786 | [in, unique] const GUID *pguidVendor,
|
---|
787 | [out] IWICMetadataQueryWriter **ppIQueryWriter);
|
---|
788 |
|
---|
789 | HRESULT CreateQueryWriterFromReader(
|
---|
790 | [in] IWICMetadataQueryReader *pIQueryReader,
|
---|
791 | [in, unique] const GUID *pguidVendor,
|
---|
792 | [out] IWICMetadataQueryWriter **ppIQueryWriter);
|
---|
793 | }
|
---|
794 |
|
---|
795 | cpp_quote("HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);")
|
---|
796 |
|
---|
797 | cpp_quote("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);")
|
---|
798 | cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);")
|
---|
799 | cpp_quote("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);")
|
---|
800 | cpp_quote("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);")
|
---|
801 | cpp_quote("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);")
|
---|
802 | cpp_quote("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);")
|
---|
803 | cpp_quote("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);")
|
---|
804 |
|
---|
805 | cpp_quote("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);")
|
---|
806 | cpp_quote("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);")
|
---|
807 | cpp_quote("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);")
|
---|
808 | cpp_quote("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);")
|
---|
809 | cpp_quote("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);")
|
---|
810 | cpp_quote("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);")
|
---|
811 |
|
---|
812 | cpp_quote("DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1);")
|
---|
813 |
|
---|
814 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);")
|
---|
815 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);")
|
---|
816 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);")
|
---|
817 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);")
|
---|
818 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);")
|
---|
819 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);")
|
---|
820 | cpp_quote("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);")
|
---|
821 |
|
---|
822 | cpp_quote("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);")
|
---|
823 |
|
---|
824 | cpp_quote("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);")
|
---|
825 | cpp_quote("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);")
|
---|
826 | cpp_quote("DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48);")
|
---|