ITSS: Use GUIDs from itss.idl

Jacek Caban jack at itma.pwr.wroc.pl
Thu Jun 23 09:44:48 CDT 2005


Changelog:
    Use GUIDs from itss.idl
-------------- next part --------------
Index: dlls/itss/itss.c
===================================================================
RCS file: /home/wine/wine/dlls/itss/itss.c,v
retrieving revision 1.12
diff -u -p -r1.12 itss.c
--- dlls/itss/itss.c	1 Jun 2005 19:57:42 -0000	1.12
+++ dlls/itss/itss.c	23 Jun 2005 13:05:25 -0000
@@ -35,7 +35,6 @@
 #include "winreg.h"
 #include "ole2.h"
 
-#include "itss.h"
 #include "uuids.h"
 
 #include "wine/unicode.h"
@@ -43,13 +42,12 @@
 
 #include "itsstor.h"
 
+#define ITSS_INITGUID
+#include "itss.h"
+
 WINE_DEFAULT_DEBUG_CHANNEL(itss);
 
 #include "initguid.h"
-
-DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec );
-DEFINE_GUID(CLSID_ITSProtocol,0x9d148290,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);
-DEFINE_GUID(IID_IITStorage, 0x88cc31de, 0x27ab, 0x11d0, 0x9d, 0xf9, 0x0, 0xa0, 0xc9, 0x22, 0xe6, 0xec);
 
 static HRESULT ITSS_create(IUnknown *pUnkOuter, LPVOID *ppObj);
 
Index: dlls/itss/itss.idl
===================================================================
RCS file: /home/wine/wine/dlls/itss/itss.idl,v
retrieving revision 1.1
diff -u -p -r1.1 itss.idl
--- dlls/itss/itss.idl	24 Aug 2004 21:00:15 -0000	1.1
+++ dlls/itss/itss.idl	23 Jun 2005 13:05:25 -0000
@@ -18,6 +18,10 @@
 
 import "oaidl.idl";
 
+cpp_quote("#ifdef ITSS_INITGUID")
+cpp_quote("#include \"initguid.h\"")
+cpp_quote("#endif")
+
 typedef struct _ITS_Control_Data
 {
     UINT cdwControlData;
@@ -90,3 +94,4 @@ interface IITStorage : IUnknown
 
 cpp_quote("DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec );");
 cpp_quote("DEFINE_GUID(IID_IITStorage, 0x88cc31de, 0x27ab, 0x11d0, 0x9d, 0xf9, 0x0, 0xa0, 0xc9, 0x22, 0xe6, 0xec);");
+cpp_quote("DEFINE_GUID(CLSID_ITSProtocol,0x9d148290,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);");


More information about the wine-patches mailing list