Commit 27c46485 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

windowscodecs: Provide UUIDs in importlib.

parent c18443aa
MODULE = windowscodecs.dll MODULE = windowscodecs.dll
IMPORTLIB = windowscodecs IMPORTLIB = windowscodecs
IMPORTS = uuid ole32 oleaut32 propsys rpcrt4 shlwapi user32 gdi32 advapi32 IMPORTS = windowscodecs uuid ole32 oleaut32 propsys rpcrt4 shlwapi user32 gdi32 advapi32
EXTRAINCL = $(JPEG_CFLAGS) $(PNG_CFLAGS) $(TIFF_CFLAGS) EXTRAINCL = $(JPEG_CFLAGS) $(PNG_CFLAGS) $(TIFF_CFLAGS)
EXTRALIBS = $(APPLICATIONSERVICES_LIBS) EXTRALIBS = $(APPLICATIONSERVICES_LIBS)
...@@ -33,7 +33,8 @@ C_SRCS = \ ...@@ -33,7 +33,8 @@ C_SRCS = \
stream.c \ stream.c \
tgaformat.c \ tgaformat.c \
tiffformat.c \ tiffformat.c \
ungif.c ungif.c \
uuid.c
RC_SRCS = version.rc RC_SRCS = version.rc
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#include "winreg.h" #include "winreg.h"
#include "objbase.h" #include "objbase.h"
#include "ocidl.h" #include "ocidl.h"
#include "wincodec.h"
#include "wincodecsdk.h"
#include "initguid.h" #include "initguid.h"
#include "wincodecs_private.h" #include "wincodecs_private.h"
......
TESTDLL = windowscodecs.dll TESTDLL = windowscodecs.dll
IMPORTS = windowscodecs propsys oleaut32 ole32 user32 gdi32 shlwapi IMPORTS = windowscodecs propsys oleaut32 ole32 user32 gdi32 shlwapi uuid
C_SRCS = \ C_SRCS = \
bitmap.c \ bitmap.c \
......
...@@ -30,24 +30,12 @@ ...@@ -30,24 +30,12 @@
#include "wincodec.h" #include "wincodec.h"
#include "wine/test.h" #include "wine/test.h"
#include "initguid.h"
DEFINE_GUID(IID_IMILUnknown,0x0ccd7824,0xdc16,0x4d09,0xbc,0xa8,0x6b,0x09,0xc4,0xef,0x55,0x35);
#ifdef _MSC_VER
extern IID IID_IMILBitmap; extern IID IID_IMILBitmap;
extern IID IID_IMILBitmapSource; extern IID IID_IMILBitmapSource;
extern IID IID_IMILBitmapLock; extern IID IID_IMILBitmapLock;
extern IID IID_IMILBitmapScaler; extern IID IID_IMILBitmapScaler;
extern IID IID_IMILFormatConverter; extern IID IID_IMILFormatConverter;
extern IID IID_IMILPalette; extern IID IID_IMILPalette;
#else
DEFINE_GUID(IID_IMILBitmap,0xb1784d3f,0x8115,0x4763,0x13,0xaa,0x32,0xed,0xdb,0x68,0x29,0x4a);
DEFINE_GUID(IID_IMILBitmapSource,0x7543696a,0xbc8d,0x46b0,0x5f,0x81,0x8d,0x95,0x72,0x89,0x72,0xbe);
DEFINE_GUID(IID_IMILBitmapLock,0xa67b2b53,0x8fa1,0x4155,0x8f,0x64,0x0c,0x24,0x7a,0x8f,0x84,0xcd);
DEFINE_GUID(IID_IMILBitmapScaler,0xa767b0f0,0x1c8c,0x4aef,0x56,0x8f,0xad,0xf9,0x6d,0xcf,0xd5,0xcb);
DEFINE_GUID(IID_IMILFormatConverter,0x7e2a746f,0x25c5,0x4851,0xb3,0xaf,0x44,0x3b,0x79,0x63,0x9e,0xc0);
DEFINE_GUID(IID_IMILPalette,0xca8e206f,0xf22c,0x4af7,0x6f,0xba,0x7b,0xed,0x5e,0xb1,0xc9,0x2f);
#endif
#undef INTERFACE #undef INTERFACE
#define INTERFACE IMILBitmapSource #define INTERFACE IMILBitmapSource
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#define COBJMACROS #define COBJMACROS
#include "windef.h" #include "windef.h"
#include "initguid.h"
#include "objbase.h" #include "objbase.h"
#include "wincodec.h" #include "wincodec.h"
#include "wincodecsdk.h" #include "wincodecsdk.h"
......
...@@ -28,9 +28,6 @@ ...@@ -28,9 +28,6 @@
#include "wincodecsdk.h" #include "wincodecsdk.h"
#include "wine/test.h" #include "wine/test.h"
#include "initguid.h"
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
static HRESULT get_component_info(const GUID *clsid, IWICComponentInfo **result) static HRESULT get_component_info(const GUID *clsid, IWICComponentInfo **result)
{ {
IWICImagingFactory *factory; IWICImagingFactory *factory;
......
/*
* Copyright 2009 Vincent Povirk for CodeWeavers
* Copyright 2020 Jacek Caban 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
*/
#if 0
#pragma makedep implib
#endif
#include "windows.h"
#include "ocidl.h"
#include "propidl.h"
#include "initguid.h"
#include "wincodec.h"
#include "wincodecsdk.h"
DEFINE_GUID(IID_IMILBitmap,0xb1784d3f,0x8115,0x4763,0x13,0xaa,0x32,0xed,0xdb,0x68,0x29,0x4a);
DEFINE_GUID(IID_IMILBitmapSource,0x7543696a,0xbc8d,0x46b0,0x5f,0x81,0x8d,0x95,0x72,0x89,0x72,0xbe);
DEFINE_GUID(IID_IMILBitmapLock,0xa67b2b53,0x8fa1,0x4155,0x8f,0x64,0x0c,0x24,0x7a,0x8f,0x84,0xcd);
DEFINE_GUID(IID_IMILBitmapScaler,0xa767b0f0,0x1c8c,0x4aef,0x56,0x8f,0xad,0xf9,0x6d,0xcf,0xd5,0xcb);
DEFINE_GUID(IID_IMILFormatConverter,0x7e2a746f,0x25c5,0x4851,0xb3,0xaf,0x44,0x3b,0x79,0x63,0x9e,0xc0);
DEFINE_GUID(IID_IMILPalette,0xca8e206f,0xf22c,0x4af7,0x6f,0xba,0x7b,0xed,0x5e,0xb1,0xc9,0x2f);
...@@ -33,12 +33,12 @@ DEFINE_GUID(GUID_WineContainerFormatTga, 0x0c44fda1,0xa5c5,0x4298,0x96,0x85,0x47 ...@@ -33,12 +33,12 @@ DEFINE_GUID(GUID_WineContainerFormatTga, 0x0c44fda1,0xa5c5,0x4298,0x96,0x85,0x47
DEFINE_GUID(GUID_VendorWine, 0xddf46da1,0x7dc1,0x404e,0x98,0xf2,0xef,0xa4,0x8d,0xfc,0x95,0x0a); DEFINE_GUID(GUID_VendorWine, 0xddf46da1,0x7dc1,0x404e,0x98,0xf2,0xef,0xa4,0x8d,0xfc,0x95,0x0a);
DEFINE_GUID(IID_IMILBitmap,0xb1784d3f,0x8115,0x4763,0x13,0xaa,0x32,0xed,0xdb,0x68,0x29,0x4a); extern IID IID_IMILBitmap;
DEFINE_GUID(IID_IMILBitmapSource,0x7543696a,0xbc8d,0x46b0,0x5f,0x81,0x8d,0x95,0x72,0x89,0x72,0xbe); extern IID IID_IMILBitmapSource;
DEFINE_GUID(IID_IMILBitmapLock,0xa67b2b53,0x8fa1,0x4155,0x8f,0x64,0x0c,0x24,0x7a,0x8f,0x84,0xcd); extern IID IID_IMILBitmapLock;
DEFINE_GUID(IID_IMILBitmapScaler,0xa767b0f0,0x1c8c,0x4aef,0x56,0x8f,0xad,0xf9,0x6d,0xcf,0xd5,0xcb); extern IID IID_IMILBitmapScaler;
DEFINE_GUID(IID_IMILFormatConverter,0x7e2a746f,0x25c5,0x4851,0xb3,0xaf,0x44,0x3b,0x79,0x63,0x9e,0xc0); extern IID IID_IMILFormatConverter;
DEFINE_GUID(IID_IMILPalette,0xca8e206f,0xf22c,0x4af7,0x6f,0xba,0x7b,0xed,0x5e,0xb1,0xc9,0x2f); extern IID IID_IMILPalette;
#define INTERFACE IMILBitmapSource #define INTERFACE IMILBitmapSource
DECLARE_INTERFACE_(IMILBitmapSource,IUnknown) DECLARE_INTERFACE_(IMILBitmapSource,IUnknown)
......
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