ole32 prototype fixes

Ge van Geldorp ge at gse.nl
Fri Jan 23 08:21:42 CST 2004


Changelog:
  Sync with ReactOS 0.2
  Fix various function prototypes to conform to PSDK

Index: compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.86
diff -u -r1.86 compobj.c
--- compobj.c	23 Jan 2004 01:51:34 -0000	1.86
+++ compobj.c	23 Jan 2004 11:42:12 -0000
@@ -565,7 +565,7 @@
 /*****************************************************************************/
 
 HRESULT WINAPI CLSIDFromString(
-	LPCOLESTR idstr,	/* [in] string representation of GUID */
+	LPOLESTR idstr,		/* [in] string representation of GUID */
 	CLSID *id )		/* [out] GUID represented by above string */
 {
     char xid[40];
Index: ole2stubs.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/ole2stubs.c,v
retrieving revision 1.34
diff -u -r1.34 ole2stubs.c
--- ole2stubs.c	8 Dec 2003 22:46:08 -0000	1.34
+++ ole2stubs.c	23 Jan 2004 11:42:12 -0000
@@ -47,11 +47,11 @@
 /******************************************************************************
  *              OleDuplicateData        [OLE32.@]
  */
-HRESULT WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat,
+HANDLE WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat,
 	                          UINT uiFlags)
 {
     FIXME("(%p,%x,%x), stub!\n", hSrc, cfFormat, uiFlags);
-    return E_NOTIMPL;
+    return NULL;
 }
 
 
Index: storage32.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/storage32.c,v
retrieving revision 1.45
diff -u -r1.45 storage32.c
--- storage32.c	23 Jan 2004 01:51:34 -0000	1.45
+++ storage32.c	23 Jan 2004 11:42:16 -0000
@@ -5803,7 +5803,8 @@
  *
  *
  */
-HRESULT WINAPI StgSetTimes(OLECHAR *str, FILETIME *a, FILETIME *b, FILETIME *c )
+HRESULT WINAPI StgSetTimes(OLECHAR const *str, FILETIME const *a,
+                           FILETIME const *b, FILETIME const *c )
 {
   FIXME("(%s, %p, %p, %p),stub!\n", debugstr_w(str), a, b, c);
   return S_OK;
@@ -7435,8 +7436,8 @@
 /***********************************************************************
  *		GetConvertStg (OLE32.@)
  */
-HRESULT WINAPI GetConvertStg(LPGUID guid) {
-    FIXME("(%s), unimplemented stub!\n",debugstr_guid(guid));
+HRESULT WINAPI GetConvertStg(IStorage *stg) {
+    FIXME("unimplemented stub!\n");
     return E_FAIL;
 }
 



More information about the wine-patches mailing list