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
24 #define CODEC_FORCE_DWORD
0x7fffffff
26 typedef enum WICDecodeOptions
{
27 WICDecodeMetadataCacheOnDemand
= 0x00000000,
28 WICDecodeMetadataCacheOnLoad
= 0x00000001,
29 WICMETADATACACHEOPTION_FORCE_DWORD
= CODEC_FORCE_DWORD
32 typedef enum WICBitmapCreateCacheOption
{
33 WICBitmapNoCache
= 0x00000000,
34 WICBitmapCacheOnDemand
= 0x00000001,
35 WICBitmapCacheOnLoad
= 0x00000002,
36 WICBITMAPCREATECACHEOPTION_FORCE_DWORD
= CODEC_FORCE_DWORD
37 } WICBitmapCreateCacheOption
;
39 typedef enum WICBitmapAlphaChannelOption
{
40 WICBitmapUseAlpha
= 0x00000000,
41 WICBitmapUsePremultipliedAlpha
= 0x00000001,
42 WICBitmapIgnoreAlpha
= 0x00000002,
43 WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD
= CODEC_FORCE_DWORD
44 } WICBitmapAlphaChannelOption
;
46 typedef enum WICBitmapDecoderCapabilities
{
47 WICBitmapDecoderCapabilitySameEncoder
= 0x00000001,
48 WICBitmapDecoderCapabilityCanDecodeAllImages
= 0x00000002,
49 WICBitmapDecoderCapabilityCanDecodeSomeImages
= 0x00000004,
50 WICBitmapDecoderCapabilityCanEnumerateMetadata
= 0x00000008,
51 WICBitmapDecoderCapabilityCanDecodeThumbnail
= 0x00000010,
52 } WICBitmapDecoderCapabilities
;
54 typedef enum WICBitmapEncoderCacheOption
{
55 WICBitmapEncoderCacheInMemory
= 0x00000000,
56 WICBitmapEncoderCacheTempFile
= 0x00000001,
57 WICBitmapEncoderNoCache
= 0x00000002,
58 WICBITMAPENCODERCACHEOPTION_FORCE_DWORD
= CODEC_FORCE_DWORD
59 } WICBitmapEncoderCacheOption
;
61 typedef enum WICBitmapPaletteType
{
62 WICBitmapPaletteTypeCustom
= 0x00000000,
63 WICBitmapPaletteTypeMedianCut
= 0x00000001,
64 WICBitmapPaletteTypeFixedBW
= 0x00000002,
65 WICBitmapPaletteTypeFixedHalftone8
= 0x00000003,
66 WICBitmapPaletteTypeFixedHalftone27
= 0x00000004,
67 WICBitmapPaletteTypeFixedHalftone64
= 0x00000005,
68 WICBitmapPaletteTypeFixedHalftone125
= 0x00000006,
69 WICBitmapPaletteTypeFixedHalftone216
= 0x00000007,
70 WICBitmapPaletteTypeFixedWebPalette
= WICBitmapPaletteTypeFixedHalftone216
,
71 WICBitmapPaletteTypeFixedHalftone252
= 0x00000008,
72 WICBitmapPaletteTypeFixedHalftone256
= 0x00000009,
73 WICBitmapPaletteTypeFixedGray4
= 0x0000000A,
74 WICBitmapPaletteTypeFixedGray16
= 0x0000000B,
75 WICBitmapPaletteTypeFixedGray256
= 0x0000000C,
76 WICBITMAPPALETTETYPE_FORCE_DWORD
= CODEC_FORCE_DWORD
77 } WICBitmapPaletteType
;
79 typedef enum WICComponentType
{
80 WICDecoder
= 0x00000001,
81 WICEncoder
= 0x00000002,
82 WICPixelFormatConverter
= 0x00000004,
83 WICMetadataReader
= 0x00000008,
84 WICMetadataWriter
= 0x00000010,
85 WICPixelFormat
= 0x00000020,
86 WICCOMPONENTTYPE_FORCE_DWORD
= CODEC_FORCE_DWORD
89 typedef enum WICComponentSigning
{
90 WICComponentSigned
= 0x00000001,
91 WICComponentUnsigned
= 0x00000002,
92 WICComponentSafe
= 0x00000004,
93 WICComponentDisabled
= 0x80000000
94 } WICComponentSigning
;
96 typedef enum WICComponentEnumerateOptions
{
97 WICComponentEnumerateDefault
= 0x00000000,
98 WICComponentEnumerateRefresh
= 0x00000001,
99 WICComponentEnumerateBuiltInOnly
= 0x20000000,
100 WICComponentEnumerateUnsigned
= 0x40000000,
101 WICComponentEnumerateDisabled
= 0x80000000
102 } WICComponentEnumerateOptions
;
104 typedef GUID WICPixelFormatGUID
;
105 typedef REFGUID REFWICPixelFormatGUID
;
107 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);")
108 cpp_quote
("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare")
110 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);")
111 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);")
112 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);")
113 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);")
115 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);")
116 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);")
117 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);")
118 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);")
119 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);")
120 cpp_quote
("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);")
122 typedef struct WICRect
{
129 typedef struct WICBitmapPattern
{
130 ULARGE_INTEGER Position
;
137 typedef UINT32 WICColor
;
139 cpp_quote
("#define WINCODEC_ERR_WRONGSTATE 0x88982f04")
140 cpp_quote
("#define WINCODEC_ERR_NOTINITIALIZED 0x88982f0c")
141 cpp_quote
("#define WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44")
142 cpp_quote
("#define WINCODEC_ERR_PALETTEUNAVAILABLE 0x88982f45")
143 cpp_quote
("#define WINCODEC_ERR_COMPONENTNOTFOUND 0x88982f50")
144 cpp_quote
("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81")
145 cpp_quote
("#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c")
147 interface IWICBitmap
;
148 interface IWICPalette
;
149 interface IWICFormatConverter
;
150 interface IWICBitmapScaler
;
151 interface IWICBitmapClipper
;
152 interface IWICBitmapFlipRotator
;
153 interface IWICColorContext
;
154 interface IWICColorTransform
;
155 interface IWICFastMetadataEncoder
;
156 interface IWICMetadataQueryReader
;
157 interface IWICMetadataQueryWriter
;
161 uuid(00000120-a8f2
-4877-ba0a
-fd2b6645fb94
)
163 interface IWICBitmapSource
: IUnknown
166 [out] UINT
*puiWidth
,
167 [out] UINT
*puiHeight
);
169 HRESULT GetPixelFormat
(
170 [out] WICPixelFormatGUID
*pPixelFormat
);
172 HRESULT GetResolution
(
174 [out] double *pDpiY
);
177 [in] IWICPalette
*pIPalette
);
180 [in] const WICRect
*prc
,
182 [in] UINT cbBufferSize
,
183 [out, size_is(cbBufferSize
)] BYTE *pbBuffer
);
188 uuid(00000040-a8f2
-4877-ba0a
-fd2b6645fb94
)
190 interface IWICPalette
: IUnknown
192 HRESULT InitializePredefined
(
193 [in] WICBitmapPaletteType ePaletteType
,
194 [in] BOOL fAddTransparentColor
);
196 HRESULT InitializeCustom
(
197 [in, size_is(colorCount
)] WICColor
*pColors
,
198 [in] UINT colorCount
);
200 HRESULT InitializeFromBitmap
(
201 [in] IWICBitmapSource
*pISurface
,
202 [in] UINT colorCount
,
203 [in] BOOL fAddTransparentColor
);
205 HRESULT InitializeFromPalette
(
206 [in] IWICPalette
*pIPalette
);
209 [out] WICBitmapPaletteType
*pePaletteType
);
211 HRESULT GetColorCount
(
212 [out] UINT
*pcCount
);
215 [in] UINT colorCount
,
216 [out, size_is(colorCount
)] WICColor
*pColors
,
217 [out] UINT
*pcActualColors
);
219 HRESULT IsBlackWhite
(
220 [out] BOOL
*pfIsBlackWhite
);
223 [out] BOOL
*pfIsGrayscale
);
226 [out] BOOL
*pfHasAlpha
);
231 uuid(23bc3f0a
-698b
-4357-886b
-f24d50671334
)
233 interface IWICComponentInfo
: IUnknown
235 HRESULT GetComponentType
(
236 [out] WICComponentType
*pType
);
239 [out] CLSID
*pclsid
);
241 HRESULT GetSigningStatus
(
242 [out] DWORD
*pStatus
);
246 [in, out, unique, size_is(cchAuthor
)] WCHAR
*wzAuthor
,
247 [out] UINT
*pcchActual
);
249 HRESULT GetVendorGUID
(
250 [out] GUID
*pguidVendor
);
253 [in] UINT cchVersion
,
254 [in, out, unique, size_is(cchVersion
)] WCHAR
*wzVersion
,
255 [out] UINT
*pcchActual
);
257 HRESULT GetSpecVersion
(
258 [in] UINT cchSpecVersion
,
259 [in, out, unique, size_is(cchSpecVersion
)] WCHAR
*wzSpecVersion
,
260 [out] UINT
*pcchActual
);
262 HRESULT GetFriendlyName
(
263 [in] UINT cchFriendlyName
,
264 [in, out, unique, size_is(cchFriendlyName
)] WCHAR
*wzFriendlyName
,
265 [out] UINT
*pcchActual
);
270 uuid(3b16811b
-6a43
-4ec9
-a813
-3d930c13b940
)
272 interface IWICBitmapFrameDecode
: IWICBitmapSource
274 HRESULT GetMetadataQueryReader
(
275 [out] IWICMetadataQueryReader
**ppIMetadataQueryReader
);
277 HRESULT GetColorContexts
(
279 [in, out, unique, size_is(cCount
)] IWICColorContext
**ppIColorContexts
,
280 [out] UINT
*pcActualCount
);
282 HRESULT GetThumbnail
(
283 [out] IWICBitmapSource
**ppIThumbnail
);
288 uuid(e87a44c4
-b76e
-4c47
-8b09
-298eb12a2714
)
290 interface IWICBitmapCodecInfo
: IWICComponentInfo
292 HRESULT GetContainerFormat
(
293 [out] GUID
*pguidContainerFormat
);
295 HRESULT GetPixelFormats
(
297 [in, out, unique, size_is(cFormats
)] GUID
*pguidPixelFormats
,
298 [out] UINT
*pcActual
);
300 HRESULT GetColorManagementVersion
(
301 [in] UINT cchColorManagementVersion
,
302 [in, out, unique, size_is(cchColorManagementVersion
)] WCHAR
*wzColorManagementVersion
,
303 [out] UINT
*pcchActual
);
305 HRESULT GetDeviceManufacturer
(
306 [in] UINT cchDeviceManufacturer
,
307 [in, out, unique, size_is(cchDeviceManufacturer
)] WCHAR
*wzDeviceManufacturer
,
308 [out] UINT
*pcchActual
);
310 HRESULT GetDeviceModels
(
311 [in] UINT cchDeviceModels
,
312 [in, out, unique, size_is(cchDeviceModels
)] WCHAR
*wzDeviceModels
,
313 [out] UINT
*pcchActual
);
315 HRESULT GetMimeTypes
(
316 [in] UINT cchMimeTypes
,
317 [in, out, unique, size_is(cchMimeTypes
)] WCHAR
*wzMimeTypes
,
318 [out] UINT
*pcchActual
);
320 HRESULT GetFileExtensions
(
321 [in] UINT cchFileExtensions
,
322 [in, out, unique, size_is(cchFileExtensions
)] WCHAR
*wzFileExtensions
,
323 [out] UINT
*pcchActual
);
325 HRESULT DoesSupportAnimation
(
326 [out] BOOL
*pfSupportAnimation
);
328 HRESULT DoesSupportChromaKey
(
329 [out] BOOL
*pfSupportChromaKey
);
331 HRESULT DoesSupportLossless
(
332 [out] BOOL
*pfSupportLossless
);
334 HRESULT DoesSupportMultiframe
(
335 [out] BOOL
*pfSupportMultiframe
);
337 HRESULT MatchesMimeType
(
338 [in] LPCWSTR wzMimeType
,
339 [out] BOOL
*pfMatches
);
342 interface IWICBitmapDecoder
;
346 uuid(d8cd007f
-d08f
-4191-9bfc
-236ea7f0e4b5
)
348 interface IWICBitmapDecoderInfo
: IWICBitmapCodecInfo
352 [in] UINT cbSizePatterns
,
353 [in, out, unique] WICBitmapPattern
*pPatterns
,
354 [in, out, unique] UINT
*pcPatterns
,
355 [in, out, unique] UINT
*pcbPatternsActual
);
357 HRESULT MatchesPattern
(
358 [in] IStream
*pIStream
,
359 [out] BOOL
*pfMatches
);
361 HRESULT CreateInstance
(
362 [out] IWICBitmapDecoder
**ppIBitmapDecoder
);
367 uuid(9edde9e7
-8dee
-47ea
-99df
-e6faf2ed44bf
)
369 interface IWICBitmapDecoder
: IUnknown
371 HRESULT QueryCapability
(
372 [in] IStream
*pIStream
,
373 [out] DWORD
*pdwCapability
);
376 [in] IStream
*pIStream
,
377 [in] WICDecodeOptions cacheOptions
);
379 HRESULT GetContainerFormat
(
380 [out] GUID
*pguidContainerFormat
);
382 HRESULT GetDecoderInfo
(
383 [out] IWICBitmapDecoderInfo
**ppIDecoderInfo
);
386 [in] IWICPalette
*pIPalette
);
388 HRESULT GetMetadataQueryReader
(
389 [out] IWICMetadataQueryReader
**ppIMetadataQueryReader
);
392 [out] IWICBitmapSource
**ppIBitmapSource
);
394 HRESULT GetColorContexts
(
396 [in, out, unique, size_is(cCount
)] IWICColorContext
**ppIColorContexts
,
397 [out] UINT
*pcActualCount
);
399 HRESULT GetThumbnail
(
400 [out] IWICBitmapSource
**ppIThumbnail
);
402 HRESULT GetFrameCount
(
407 [out] IWICBitmapFrameDecode
**ppIBitmapFrame
);
412 uuid(00000105-a8f2
-4877-ba0a
-fd2b6645fb94
)
414 interface IWICBitmapFrameEncode
: IUnknown
417 [in, unique] IPropertyBag2
*pIEncoderOptions
);
423 HRESULT SetResolution
(
427 HRESULT SetPixelFormat
(
428 [in, out] WICPixelFormatGUID
*pPixelFormat
);
430 HRESULT SetColorContexts
(
432 [in, size_is(cCount
)] IWICColorContext
**ppIColorContext
);
435 [in] IWICPalette
*pIPalette
);
437 HRESULT SetThumbnail
(
438 [in] IWICBitmapSource
*pIThumbnail
);
443 [in] UINT cbBufferSize
,
444 [in, size_is(cbBufferSize
)] BYTE *pbPixels
);
447 [in] IWICBitmapSource
*pIBitmapSource
,
448 [in, unique] WICRect
*prc
);
452 HRESULT GetMetadataQueryWriter
(
453 IWICMetadataQueryWriter
**ppIMetadataQueryWriter
);
456 interface IWICBitmapEncoder
;
460 uuid(94c9b4ee
-a09f
-4f92
-8a1e
-4a9bce7e76fb
)
462 interface IWICBitmapEncoderInfo
: IWICBitmapCodecInfo
464 HRESULT CreateInstance
(
465 [out] IWICBitmapEncoder
**ppIBitmapEncoder
);
470 uuid(00000103-a8f2
-4877-ba0a
-fd2b6645fb94
)
472 interface IWICBitmapEncoder
: IUnknown
475 [in] IStream
*pIStream
,
476 [in] WICBitmapEncoderCacheOption cacheOption
);
478 HRESULT GetContainerFormat
(
479 [out] GUID
*pguidContainerFormat
);
481 HRESULT GetEncoderInfo
(
482 [out] IWICBitmapEncoderInfo
**ppIEncoderInfo
);
484 HRESULT SetColorContexts
(
486 [in, size_is(cCount
)] IWICColorContext
**ppIColorContext
);
489 [in] IWICPalette
*pIPalette
);
491 HRESULT SetThumbnail
(
492 [in] IWICBitmapSource
*pIThumbnail
);
495 [in] IWICBitmapSource
*pIPreview
);
497 HRESULT CreateNewFrame
(
498 [out] IWICBitmapFrameEncode
**ppIFrameEncode
,
499 [in, out, unique] IPropertyBag2
**ppIEncoderOptions
);
503 HRESULT GetMetadataQueryWriter
(
504 [out] IWICMetadataQueryWriter
**ppIMetadataQueryWriter
);
509 uuid(135ff860
-22b7
-4ddf
-b0f6
-218f4f299a43
)
511 interface IWICStream
: IStream
513 HRESULT InitializeFromIStream
(
514 [in] IStream
*pIStream
);
516 HRESULT InitializeFromFilename
(
517 [in] LPCWSTR wzFileName
,
518 [in] DWORD dwAccessMode
);
520 HRESULT InitializeFromMemory
(
521 [in, size_is(cbBufferSize
)] BYTE *pbBuffer
,
522 [in] DWORD cbBufferSize
);
524 HRESULT InitializeFromIStreamRegion
(
525 [in] IStream
*pIStream
,
526 [in] ULARGE_INTEGER ulOffset
,
527 [in] ULARGE_INTEGER ulMaxSize
);
530 cpp_quote
("DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);")
534 uuid(ec5ec8a9
-c395
-4314-9c77
-54d7a935ff70
)
536 interface IWICImagingFactory
: IUnknown
538 HRESULT CreateDecoderFromFilename
(
539 [in] LPCWSTR wzFilename
,
540 [in, unique] const GUID
*pguidVendor
,
541 [in] DWORD dwDesiredAccess
,
542 [in] WICDecodeOptions metadataOptions
,
543 [out, retval] IWICBitmapDecoder
**ppIDecoder
);
545 HRESULT CreateDecoderFromStream
(
546 [in] IStream
*pIStream
,
547 [in, unique] const GUID
*pguidVendor
,
548 [in] WICDecodeOptions metadataOptions
,
549 [out, retval] IWICBitmapDecoder
**ppIDecoder
);
551 HRESULT CreateDecoderFromFileHandle
(
552 [in] ULONG_PTR hFile
,
553 [in, unique] const GUID
*pguidVendor
,
554 [in] WICDecodeOptions metadataOptions
,
555 [out, retval] IWICBitmapDecoder
**ppIDecoder
);
557 HRESULT CreateComponentInfo
(
558 [in] REFCLSID clsidComponent
,
559 [out] IWICComponentInfo
**ppIInfo
);
561 HRESULT CreateDecoder
(
562 [in] REFGUID guidContainerFormat
,
563 [in, unique] const GUID
*pguidVendor
,
564 [out, retval] IWICBitmapDecoder
**ppIDecoder
);
566 HRESULT CreateEncoder
(
567 [in] REFGUID guidContainerFormat
,
568 [in, unique] const GUID
*pguidVendor
,
569 [out, retval] IWICBitmapEncoder
**ppIEncoder
);
571 HRESULT CreatePalette
(
572 [out] IWICPalette
**ppIPalette
);
574 HRESULT CreateFormatConverter
(
575 [out] IWICFormatConverter
**ppIFormatConverter
);
577 HRESULT CreateBitmapScaler
(
578 [out] IWICBitmapScaler
**ppIBitmapScaler
);
580 HRESULT CreateBitmapClipper
(
581 [out] IWICBitmapClipper
**ppIBitmapClipper
);
583 HRESULT CreateBitmapFlipRotator
(
584 [out] IWICBitmapFlipRotator
**ppIBitmapFlipRotator
);
586 HRESULT CreateStream
(
587 [out] IWICStream
**ppIWICStream
);
589 HRESULT CreateColorContext
(
590 [out] IWICColorContext
**ppIWICColorContext
);
592 HRESULT CreateColorTransformer
(
593 [out] IWICColorTransform
**ppIWICColorTransform
);
595 HRESULT CreateBitmap
(
598 [in] REFWICPixelFormatGUID pixelFormat
,
599 [in] WICBitmapCreateCacheOption option
,
600 [out] IWICBitmap
**ppIBitmap
);
602 HRESULT CreateBitmapFromSource
(
603 [in] IWICBitmapSource
*piBitmapSource
,
604 [in] WICBitmapCreateCacheOption option
,
605 [out] IWICBitmap
**ppIBitmap
);
607 HRESULT CreateBitmapFromSourceRect
(
608 [in] IWICBitmapSource
*piBitmapSource
,
613 [out] IWICBitmap
**ppIBitmap
);
615 HRESULT CreateBitmapFromMemory
(
618 [in] REFWICPixelFormatGUID pixelFormat
,
620 [in] UINT cbBufferSize
,
621 [in, size_is(cbBufferSize
)] BYTE *pbBuffer
,
622 [out] IWICBitmap
**ppIBitmap
);
624 HRESULT CreateBitmapFromHBITMAP
(
625 [in] HBITMAP hBitmap,
626 [in, unique] HPALETTE hPalette,
627 [in] WICBitmapAlphaChannelOption options
,
628 [out] IWICBitmap
**ppIBitmap
);
630 HRESULT CreateBitmapFromHICON
(
632 [out] IWICBitmap
**ppIBitmap
);
634 HRESULT CreateComponentEnumerator
(
635 [in] DWORD componentTypes
,
637 [out] IEnumUnknown
**ppIEnumUnknown
);
639 HRESULT CreateFastMetadataEncoderFromDecoder
(
640 [in] IWICBitmapDecoder
*pIDecoder
,
641 [out] IWICFastMetadataEncoder
**ppIFastEncoder
);
643 HRESULT CreateFastMetadataEncoderFromFrameDecode
(
644 [in] IWICBitmapFrameDecode
*pIFrameDecoder
,
645 [out] IWICFastMetadataEncoder
**ppIFastEncoder
);
647 HRESULT CreateQueryWriter
(
648 [in] REFGUID guidMetadataFormat
,
649 [in, unique] const GUID
*pguidVendor
,
650 [out] IWICMetadataQueryWriter
**ppIQueryWriter
);
652 HRESULT CreateQueryWriterFromReader
(
653 [in] IWICMetadataQueryReader
*pIQueryReader
,
654 [in, unique] const GUID
*pguidVendor
,
655 [out] IWICMetadataQueryWriter
**ppIQueryWriter
);
658 cpp_quote
("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);")
659 cpp_quote
("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);")
660 cpp_quote
("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);")
661 cpp_quote
("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);")
662 cpp_quote
("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);")
663 cpp_quote
("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);")
664 cpp_quote
("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);")
666 cpp_quote
("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);")
667 cpp_quote
("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);")
668 cpp_quote
("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);")
669 cpp_quote
("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);")
670 cpp_quote
("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);")
671 cpp_quote
("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);")
673 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);")
674 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);")
675 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);")
676 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);")
677 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);")
678 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);")
679 cpp_quote
("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);")
681 cpp_quote
("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);")
683 cpp_quote
("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);")
684 cpp_quote
("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);")