Commit bb2df245 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Implement WICCreateImagingFactory_Proxy.

parent 721a3c91
...@@ -22,6 +22,7 @@ C_SRCS = \ ...@@ -22,6 +22,7 @@ C_SRCS = \
palette.c \ palette.c \
pngformat.c \ pngformat.c \
propertybag.c \ propertybag.c \
proxy.c \
regsvr.c \ regsvr.c \
stream.c \ stream.c \
tgaformat.c \ tgaformat.c \
......
/*
* Misleadingly named convenience functions for accessing WIC.
*
* Copyright 2012 Vincent Povirk for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "wincodec.h"
#include "wincodecs_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
HRESULT WINAPI WICCreateImagingFactory_Proxy(UINT SDKVersion, IWICImagingFactory **ppIImagingFactory)
{
TRACE("%x, %p\n", SDKVersion, ppIImagingFactory);
return ImagingFactory_CreateInstance(NULL, &IID_IWICImagingFactory, (void**)ppIImagingFactory);
}
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
@ stdcall WICConvertBitmapSource(ptr ptr ptr) @ stdcall WICConvertBitmapSource(ptr ptr ptr)
@ stub WICCreateBitmapFromSection @ stub WICCreateBitmapFromSection
@ stub WICCreateColorContext_Proxy @ stub WICCreateColorContext_Proxy
@ stub WICCreateImagingFactory_Proxy @ stdcall WICCreateImagingFactory_Proxy(long ptr)
@ stub WICGetMetadataContentSize @ stub WICGetMetadataContentSize
@ stub WICMapGuidToShortName @ stub WICMapGuidToShortName
@ stub WICMapSchemaToName @ stub WICMapSchemaToName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment