d3dcompiler: Add a stub parser.
[wine] / dlls / windowscodecs / proxy.c
1 /*
2  * Misleadingly named convenience functions for accessing WIC.
3  *
4  * Copyright 2012 Vincent Povirk for CodeWeavers
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #include "config.h"
22
23 #include <stdarg.h>
24
25 #define COBJMACROS
26 #define NONAMELESSUNION
27
28 #include "windef.h"
29 #include "winbase.h"
30 #include "objbase.h"
31 #include "wincodec.h"
32
33 #include "wincodecs_private.h"
34
35 #include "wine/debug.h"
36
37 WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
38
39 HRESULT WINAPI IWICBitmapCodecInfo_GetContainerFormat_Proxy_W(IWICBitmapCodecInfo *iface,
40     GUID *pguidContainerFormat)
41 {
42     return IWICBitmapCodecInfo_GetContainerFormat(iface, pguidContainerFormat);
43 }
44
45 HRESULT WINAPI IWICBitmapCodecInfo_GetDeviceManufacturer_Proxy_W(IWICBitmapCodecInfo *iface,
46     UINT cchDeviceManufacturer, WCHAR *wzDeviceManufacturer, UINT *pcchActual)
47 {
48     return IWICBitmapCodecInfo_GetDeviceManufacturer(iface, cchDeviceManufacturer, wzDeviceManufacturer, pcchActual);
49 }
50
51 HRESULT WINAPI IWICBitmapCodecInfo_GetDeviceModels_Proxy_W(IWICBitmapCodecInfo *iface,
52     UINT cchDeviceModels, WCHAR *wzDeviceModels, UINT *pcchActual)
53 {
54     return IWICBitmapCodecInfo_GetDeviceModels(iface, cchDeviceModels, wzDeviceModels, pcchActual);
55 }
56
57 HRESULT WINAPI IWICBitmapCodecInfo_GetMimeTypes_Proxy_W(IWICBitmapCodecInfo *iface,
58     UINT cchMimeTypes, WCHAR *wzMimeTypes, UINT *pcchActual)
59 {
60     return IWICBitmapCodecInfo_GetMimeTypes(iface, cchMimeTypes, wzMimeTypes, pcchActual);
61 }
62
63 HRESULT WINAPI IWICBitmapCodecInfo_GetFileExtensions_Proxy_W(IWICBitmapCodecInfo *iface,
64     UINT cchFileExtensions, WCHAR *wzFileExtensions, UINT *pcchActual)
65 {
66     return IWICBitmapCodecInfo_GetFileExtensions(iface, cchFileExtensions, wzFileExtensions, pcchActual);
67 }
68
69 HRESULT WINAPI IWICBitmapCodecInfo_DoesSupportAnimation_Proxy_W(IWICBitmapCodecInfo *iface,
70     BOOL *pfSupportAnimation)
71 {
72     return IWICBitmapCodecInfo_DoesSupportAnimation(iface, pfSupportAnimation);
73 }
74
75 HRESULT WINAPI IWICBitmapCodecInfo_DoesSupportLossless_Proxy_W(IWICBitmapCodecInfo *iface,
76     BOOL *pfSupportLossless)
77 {
78     return IWICBitmapCodecInfo_DoesSupportLossless(iface, pfSupportLossless);
79 }
80
81 HRESULT WINAPI IWICBitmapCodecInfo_DoesSupportMultiframe_Proxy_W(IWICBitmapCodecInfo *iface,
82     BOOL *pfSupportMultiframe)
83 {
84     return IWICBitmapCodecInfo_DoesSupportMultiframe(iface, pfSupportMultiframe);
85 }
86
87 HRESULT WINAPI IWICBitmapDecoder_GetDecoderInfo_Proxy_W(IWICBitmapDecoder *iface,
88     IWICBitmapDecoderInfo **ppIDecoderInfo)
89 {
90     return IWICBitmapDecoder_GetDecoderInfo(iface, ppIDecoderInfo);
91 }
92
93 HRESULT WINAPI IWICBitmapDecoder_CopyPalette_Proxy_W(IWICBitmapDecoder *iface,
94     IWICPalette *pIPalette)
95 {
96     return IWICBitmapDecoder_CopyPalette(iface, pIPalette);
97 }
98
99 HRESULT WINAPI IWICBitmapDecoder_GetMetadataQueryReader_Proxy_W(IWICBitmapDecoder *iface,
100     IWICMetadataQueryReader **ppIMetadataQueryReader)
101 {
102     return IWICBitmapDecoder_GetMetadataQueryReader(iface, ppIMetadataQueryReader);
103 }
104
105 HRESULT WINAPI IWICBitmapDecoder_GetPreview_Proxy_W(IWICBitmapDecoder *iface,
106     IWICBitmapSource **ppIBitmapSource)
107 {
108     return IWICBitmapDecoder_GetPreview(iface, ppIBitmapSource);
109 }
110
111 HRESULT WINAPI IWICBitmapDecoder_GetColorContexts_Proxy_W(IWICBitmapDecoder *iface,
112     UINT cCount, IWICColorContext **ppIColorContexts, UINT *pcActualCount)
113 {
114     return IWICBitmapDecoder_GetColorContexts(iface, cCount, ppIColorContexts, pcActualCount);
115 }
116
117 HRESULT WINAPI IWICBitmapDecoder_GetThumbnail_Proxy_W(IWICBitmapDecoder *iface,
118     IWICBitmapSource **ppIThumbnail)
119 {
120     return IWICBitmapDecoder_GetThumbnail(iface, ppIThumbnail);
121 }
122
123 HRESULT WINAPI IWICBitmapDecoder_GetFrameCount_Proxy_W(IWICBitmapDecoder *iface,
124     UINT *pCount)
125 {
126     return IWICBitmapDecoder_GetFrameCount(iface, pCount);
127 }
128
129 HRESULT WINAPI IWICBitmapDecoder_GetFrame_Proxy_W(IWICBitmapDecoder *iface,
130     UINT index, IWICBitmapFrameDecode **ppIBitmapFrame)
131 {
132     return IWICBitmapDecoder_GetFrame(iface, index, ppIBitmapFrame);
133 }
134
135 HRESULT WINAPI IWICBitmapFlipRotator_Initialize_Proxy_W(IWICBitmapFlipRotator *iface,
136     IWICBitmapSource *pISource, WICBitmapTransformOptions options)
137 {
138     return IWICBitmapFlipRotator_Initialize(iface, pISource, options);
139 }
140
141 HRESULT WINAPI IWICBitmapLock_GetDataPointer_Proxy_W(IWICBitmapLock *iface,
142     UINT *pcbBufferSize, BYTE **ppbData)
143 {
144     return IWICBitmapLock_GetDataPointer(iface, pcbBufferSize, ppbData);
145 }
146
147 HRESULT WINAPI IWICBitmapLock_GetStride_Proxy_W(IWICBitmapLock *iface,
148     UINT *pcbStride)
149 {
150     return IWICBitmapLock_GetStride(iface, pcbStride);
151 }
152
153 HRESULT WINAPI IWICBitmapSource_GetSize_Proxy_W(IWICBitmapSource *iface,
154     UINT *puiWidth, UINT *puiHeight)
155 {
156     return IWICBitmapSource_GetSize(iface, puiWidth, puiHeight);
157 }
158
159 HRESULT WINAPI IWICBitmapSource_GetPixelFormat_Proxy_W(IWICBitmapSource *iface,
160     WICPixelFormatGUID *pPixelFormat)
161 {
162     return IWICBitmapSource_GetPixelFormat(iface, pPixelFormat);
163 }
164
165 HRESULT WINAPI IWICBitmapSource_GetResolution_Proxy_W(IWICBitmapSource *iface,
166     double *pDpiX, double *pDpiY)
167 {
168     return IWICBitmapSource_GetResolution(iface, pDpiX, pDpiY);
169 }
170
171 HRESULT WINAPI IWICBitmapSource_CopyPalette_Proxy_W(IWICBitmapSource *iface,
172     IWICPalette *pIPalette)
173 {
174     return IWICBitmapSource_CopyPalette(iface, pIPalette);
175 }
176
177 HRESULT WINAPI IWICBitmapSource_CopyPixels_Proxy_W(IWICBitmapSource *iface,
178     const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer)
179 {
180     return IWICBitmapSource_CopyPixels(iface, prc, cbStride, cbBufferSize, pbBuffer);
181 }
182
183 HRESULT WINAPI IWICBitmap_Lock_Proxy_W(IWICBitmap *iface,
184     const WICRect *prcLock, DWORD flags, IWICBitmapLock **ppILock)
185 {
186     return IWICBitmap_Lock(iface, prcLock, flags, ppILock);
187 }
188
189 HRESULT WINAPI IWICBitmap_SetPalette_Proxy_W(IWICBitmap *iface,
190     IWICPalette *pIPalette)
191 {
192     return IWICBitmap_SetPalette(iface, pIPalette);
193 }
194
195 HRESULT WINAPI IWICBitmap_SetResolution_Proxy_W(IWICBitmap *iface,
196     double dpiX, double dpiY)
197 {
198     return IWICBitmap_SetResolution(iface, dpiX, dpiY);
199 }
200
201 HRESULT WINAPI IWICColorContext_InitializeFromMemory_Proxy_W(IWICColorContext *iface,
202     const BYTE *pbBuffer, UINT cbBufferSize)
203 {
204     return IWICColorContext_InitializeFromMemory(iface, pbBuffer, cbBufferSize);
205 }
206
207 HRESULT WINAPI IWICComponentInfo_GetCLSID_Proxy_W(IWICComponentInfo *iface,
208     CLSID *pclsid)
209 {
210     return IWICComponentInfo_GetCLSID(iface, pclsid);
211 }
212
213 HRESULT WINAPI IWICComponentInfo_GetAuthor_Proxy_W(IWICComponentInfo *iface,
214     UINT cchAuthor, WCHAR *wzAuthor, UINT *pcchActual)
215 {
216     return IWICComponentInfo_GetAuthor(iface, cchAuthor, wzAuthor, pcchActual);
217 }
218
219 HRESULT WINAPI IWICComponentInfo_GetVersion_Proxy_W(IWICComponentInfo *iface,
220     UINT cchVersion, WCHAR *wzVersion, UINT *pcchActual)
221 {
222     return IWICComponentInfo_GetVersion(iface, cchVersion, wzVersion, pcchActual);
223 }
224
225 HRESULT WINAPI IWICComponentInfo_GetSpecVersion_Proxy_W(IWICComponentInfo *iface,
226     UINT cchSpecVersion, WCHAR *wzSpecVersion, UINT *pcchActual)
227 {
228     return IWICComponentInfo_GetSpecVersion(iface, cchSpecVersion, wzSpecVersion, pcchActual);
229 }
230
231 HRESULT WINAPI IWICComponentInfo_GetFriendlyName_Proxy_W(IWICComponentInfo *iface,
232     UINT cchFriendlyName, WCHAR *wzFriendlyName, UINT *pcchActual)
233 {
234     return IWICComponentInfo_GetFriendlyName(iface, cchFriendlyName, wzFriendlyName, pcchActual);
235 }
236
237 HRESULT WINAPI IWICFastMetadataEncoder_Commit_Proxy_W(IWICFastMetadataEncoder *iface)
238 {
239     return IWICFastMetadataEncoder_Commit(iface);
240 }
241
242 HRESULT WINAPI IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy_W(IWICFastMetadataEncoder *iface,
243     IWICMetadataQueryWriter **ppIMetadataQueryWriter)
244 {
245     return IWICFastMetadataEncoder_GetMetadataQueryWriter(iface, ppIMetadataQueryWriter);
246 }
247
248 HRESULT WINAPI IWICBitmapFrameDecode_GetMetadataQueryReader_Proxy_W(IWICBitmapFrameDecode *iface,
249     IWICMetadataQueryReader **ppIMetadataQueryReader)
250 {
251     return IWICBitmapFrameDecode_GetMetadataQueryReader(iface, ppIMetadataQueryReader);
252 }
253
254 HRESULT WINAPI IWICBitmapFrameDecode_GetColorContexts_Proxy_W(IWICBitmapFrameDecode *iface,
255     UINT cCount, IWICColorContext **ppIColorContexts, UINT *pcActualCount)
256 {
257     return IWICBitmapFrameDecode_GetColorContexts(iface, cCount, ppIColorContexts, pcActualCount);
258 }
259
260 HRESULT WINAPI IWICBitmapFrameDecode_GetThumbnail_Proxy_W(IWICBitmapFrameDecode *iface,
261     IWICBitmapSource **ppIThumbnail)
262 {
263     return IWICBitmapFrameDecode_GetThumbnail(iface, ppIThumbnail);
264 }
265
266 HRESULT WINAPI IWICImagingFactory_CreateBitmapClipper_Proxy_W(IWICImagingFactory *pFactory,
267     IWICBitmapClipper **ppIBitmapClipper)
268 {
269     return IWICImagingFactory_CreateBitmapClipper(pFactory, ppIBitmapClipper);
270 }
271
272 HRESULT WINAPI IWICImagingFactory_CreateBitmapFlipRotator_Proxy_W(IWICImagingFactory *pFactory,
273     IWICBitmapFlipRotator **ppIBitmapFlipRotator)
274 {
275     return IWICImagingFactory_CreateBitmapFlipRotator(pFactory, ppIBitmapFlipRotator);
276 }
277
278 HRESULT WINAPI IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy_W(IWICImagingFactory *pFactory,
279     HBITMAP hBitmap, HPALETTE hPalette, WICBitmapAlphaChannelOption options, IWICBitmap **ppIBitmap)
280 {
281     return IWICImagingFactory_CreateBitmapFromHBITMAP(pFactory, hBitmap, hPalette, options, ppIBitmap);
282 }
283
284 HRESULT WINAPI IWICImagingFactory_CreateBitmapFromHICON_Proxy_W(IWICImagingFactory *pFactory,
285     HICON hIcon, IWICBitmap **ppIBitmap)
286 {
287     return IWICImagingFactory_CreateBitmapFromHICON(pFactory, hIcon, ppIBitmap);
288 }
289
290 HRESULT WINAPI IWICImagingFactory_CreateBitmapFromMemory_Proxy_W(IWICImagingFactory *pFactory,
291     UINT uiWidth, UINT uiHeight, REFWICPixelFormatGUID pixelFormat, UINT cbStride,
292     UINT cbBufferSize, BYTE *pbBuffer, IWICBitmap **ppIBitmap)
293 {
294     return IWICImagingFactory_CreateBitmapFromMemory(pFactory, uiWidth, uiHeight,
295         pixelFormat, cbStride, cbBufferSize, pbBuffer, ppIBitmap);
296 }
297
298 HRESULT WINAPI IWICImagingFactory_CreateBitmapFromSource_Proxy_W(IWICImagingFactory *pFactory,
299     IWICBitmapSource *piBitmapSource, WICBitmapCreateCacheOption option, IWICBitmap **ppIBitmap)
300 {
301     return IWICImagingFactory_CreateBitmapFromSource(pFactory, piBitmapSource, option, ppIBitmap);
302 }
303
304 HRESULT WINAPI IWICImagingFactory_CreateBitmapScaler_Proxy_W(IWICImagingFactory *pFactory,
305     IWICBitmapScaler **ppIBitmapScaler)
306 {
307     return IWICImagingFactory_CreateBitmapScaler(pFactory, ppIBitmapScaler);
308 }
309
310 HRESULT WINAPI IWICImagingFactory_CreateBitmap_Proxy_W(IWICImagingFactory *pFactory,
311     UINT uiWidth, UINT uiHeight, REFWICPixelFormatGUID pixelFormat,
312     WICBitmapCreateCacheOption option, IWICBitmap **ppIBitmap)
313 {
314     return IWICImagingFactory_CreateBitmap(pFactory, uiWidth, uiHeight,
315         pixelFormat, option, ppIBitmap);
316 }
317
318 HRESULT WINAPI IWICImagingFactory_CreateComponentInfo_Proxy_W(IWICImagingFactory *pFactory,
319     REFCLSID clsidComponent, IWICComponentInfo **ppIInfo)
320 {
321     return IWICImagingFactory_CreateComponentInfo(pFactory, clsidComponent, ppIInfo);
322 }
323
324 HRESULT WINAPI IWICImagingFactory_CreateDecoderFromFileHandle_Proxy_W(IWICImagingFactory *pFactory,
325     ULONG_PTR hFile, const GUID *pguidVendor, WICDecodeOptions metadataOptions, IWICBitmapDecoder **ppIDecoder)
326 {
327     return IWICImagingFactory_CreateDecoderFromFileHandle(pFactory, hFile, pguidVendor, metadataOptions, ppIDecoder);
328 }
329
330 HRESULT WINAPI IWICImagingFactory_CreateDecoderFromFilename_Proxy_W(IWICImagingFactory *pFactory,
331     LPCWSTR wzFilename, const GUID *pguidVendor, DWORD dwDesiredAccess,
332     WICDecodeOptions metadataOptions, IWICBitmapDecoder **ppIDecoder)
333 {
334     return IWICImagingFactory_CreateDecoderFromFilename(pFactory, wzFilename,
335         pguidVendor, dwDesiredAccess, metadataOptions, ppIDecoder);
336 }
337
338 HRESULT WINAPI IWICImagingFactory_CreateDecoderFromStream_Proxy_W(IWICImagingFactory *pFactory,
339     IStream *pIStream, const GUID *pguidVendor,
340     WICDecodeOptions metadataOptions, IWICBitmapDecoder **ppIDecoder)
341 {
342     return IWICImagingFactory_CreateDecoderFromStream(pFactory, pIStream, pguidVendor, metadataOptions, ppIDecoder);
343 }
344
345 HRESULT WINAPI IWICImagingFactory_CreateEncoder_Proxy_W(IWICImagingFactory *pFactory,
346     REFGUID guidContainerFormat, const GUID *pguidVendor, IWICBitmapEncoder **ppIEncoder)
347 {
348     return IWICImagingFactory_CreateEncoder(pFactory, guidContainerFormat, pguidVendor, ppIEncoder);
349 }
350
351 HRESULT WINAPI IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy_W(IWICImagingFactory *pFactory,
352     IWICBitmapDecoder *pIDecoder, IWICFastMetadataEncoder **ppIFastEncoder)
353 {
354     return IWICImagingFactory_CreateFastMetadataEncoderFromDecoder(pFactory, pIDecoder, ppIFastEncoder);
355 }
356
357 HRESULT WINAPI IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy_W(IWICImagingFactory *pFactory,
358     IWICBitmapFrameDecode *pIFrameDecoder, IWICFastMetadataEncoder **ppIFastEncoder)
359 {
360     return IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode(pFactory, pIFrameDecoder, ppIFastEncoder);
361 }
362
363 HRESULT WINAPI IWICImagingFactory_CreateFormatConverter_Proxy_W(IWICImagingFactory *pFactory,
364     IWICFormatConverter **ppIFormatConverter)
365 {
366     return IWICImagingFactory_CreateFormatConverter(pFactory, ppIFormatConverter);
367 }
368
369 HRESULT WINAPI IWICImagingFactory_CreatePalette_Proxy_W(IWICImagingFactory *pFactory,
370     IWICPalette **ppIPalette)
371 {
372     return IWICImagingFactory_CreatePalette(pFactory, ppIPalette);
373 }
374
375 HRESULT WINAPI IWICImagingFactory_CreateQueryWriterFromReader_Proxy_W(IWICImagingFactory *pFactory,
376     IWICMetadataQueryReader *pIQueryReader, const GUID *pguidVendor,
377     IWICMetadataQueryWriter **ppIQueryWriter)
378 {
379     return IWICImagingFactory_CreateQueryWriterFromReader(pFactory, pIQueryReader, pguidVendor, ppIQueryWriter);
380 }
381
382 HRESULT WINAPI IWICImagingFactory_CreateQueryWriter_Proxy_W(IWICImagingFactory *pFactory,
383     REFGUID guidMetadataFormat, const GUID *pguidVendor, IWICMetadataQueryWriter **ppIQueryWriter)
384 {
385     return IWICImagingFactory_CreateQueryWriter(pFactory, guidMetadataFormat, pguidVendor, ppIQueryWriter);
386 }
387
388 HRESULT WINAPI IWICImagingFactory_CreateStream_Proxy_W(IWICImagingFactory *pFactory,
389     IWICStream **ppIWICStream)
390 {
391     return IWICImagingFactory_CreateStream(pFactory, ppIWICStream);
392 }
393
394 HRESULT WINAPI IWICMetadataQueryReader_GetContainerFormat_Proxy_W(IWICMetadataQueryReader *iface,
395     GUID *pguidContainerFormat)
396 {
397     return IWICMetadataQueryReader_GetContainerFormat(iface, pguidContainerFormat);
398 }
399
400 HRESULT WINAPI IWICMetadataQueryReader_GetLocation_Proxy_W(IWICMetadataQueryReader *iface,
401     UINT cchMaxLength, WCHAR *wzNamespace, UINT *pcchActualLength)
402 {
403     return IWICMetadataQueryReader_GetLocation(iface, cchMaxLength, wzNamespace, pcchActualLength);
404 }
405
406 HRESULT WINAPI IWICMetadataQueryReader_GetMetadataByName_Proxy_W(IWICMetadataQueryReader *iface,
407     LPCWSTR wzName, PROPVARIANT *pvarValue)
408 {
409     return IWICMetadataQueryReader_GetMetadataByName(iface, wzName, pvarValue);
410 }
411
412 HRESULT WINAPI IWICMetadataQueryReader_GetEnumerator_Proxy_W(IWICMetadataQueryReader *iface,
413     IEnumString **ppIEnumString)
414 {
415     return IWICMetadataQueryReader_GetEnumerator(iface, ppIEnumString);
416 }
417
418 HRESULT WINAPI IWICMetadataQueryWriter_SetMetadataByName_Proxy_W(IWICMetadataQueryWriter *iface,
419     LPCWSTR wzName, const PROPVARIANT *pvarValue)
420 {
421     return IWICMetadataQueryWriter_SetMetadataByName(iface, wzName, pvarValue);
422 }
423
424 HRESULT WINAPI IWICMetadataQueryWriter_RemoveMetadataByName_Proxy_W(IWICMetadataQueryWriter *iface,
425     LPCWSTR wzName)
426 {
427     return IWICMetadataQueryWriter_RemoveMetadataByName(iface, wzName);
428 }
429
430 HRESULT WINAPI IWICPalette_InitializePredefined_Proxy_W(IWICPalette *iface,
431     WICBitmapPaletteType ePaletteType, BOOL fAddTransparentColor)
432 {
433     return IWICPalette_InitializePredefined(iface, ePaletteType, fAddTransparentColor);
434 }
435
436 HRESULT WINAPI IWICPalette_InitializeCustom_Proxy_W(IWICPalette *iface,
437     WICColor *pColors, UINT colorCount)
438 {
439     return IWICPalette_InitializeCustom(iface, pColors, colorCount);
440 }
441
442 HRESULT WINAPI IWICPalette_InitializeFromBitmap_Proxy_W(IWICPalette *iface,
443     IWICBitmapSource *pISurface, UINT colorCount, BOOL fAddTransparentColor)
444 {
445     return IWICPalette_InitializeFromBitmap(iface, pISurface, colorCount, fAddTransparentColor);
446 }
447
448 HRESULT WINAPI IWICPalette_InitializeFromPalette_Proxy_W(IWICPalette *iface,
449     IWICPalette *pIPalette)
450 {
451     return IWICPalette_InitializeFromPalette(iface, pIPalette);
452 }
453
454 HRESULT WINAPI IWICPalette_GetType_Proxy_W(IWICPalette *iface,
455     WICBitmapPaletteType *pePaletteType)
456 {
457     return IWICPalette_GetType(iface, pePaletteType);
458 }
459
460 HRESULT WINAPI IWICPalette_GetColorCount_Proxy_W(IWICPalette *iface,
461     UINT *pcCount)
462 {
463     return IWICPalette_GetColorCount(iface, pcCount);
464 }
465
466 HRESULT WINAPI IWICPalette_GetColors_Proxy_W(IWICPalette *iface,
467     UINT colorCount, WICColor *pColors, UINT *pcActualColors)
468 {
469     return IWICPalette_GetColors(iface, colorCount, pColors, pcActualColors);
470 }
471
472 HRESULT WINAPI IWICPalette_HasAlpha_Proxy_W(IWICPalette *iface,
473     BOOL *pfHasAlpha)
474 {
475     return IWICPalette_HasAlpha(iface, pfHasAlpha);
476 }
477
478 HRESULT WINAPI WICCreateImagingFactory_Proxy(UINT SDKVersion, IWICImagingFactory **ppIImagingFactory)
479 {
480     TRACE("%x, %p\n", SDKVersion, ppIImagingFactory);
481
482     return ImagingFactory_CreateInstance(NULL, &IID_IWICImagingFactory, (void**)ppIImagingFactory);
483 }