PATCH: OleInitializeWOW

Marcus Meissner meissner at suse.de
Fri Jul 22 04:53:25 CDT 2005


Hi,

Crashes otherwise with mismatched stack.

Ciao, Marcus

Changelog:
	OleInitializeWOW gets 2 arguments.

Index: dlls/ole32/ole2.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/ole2.c,v
retrieving revision 1.69
diff -u -r1.69 ole2.c
--- dlls/ole32/ole2.c	5 Jul 2005 12:43:44 -0000	1.69
+++ dlls/ole32/ole2.c	22 Jul 2005 09:51:32 -0000
@@ -294,8 +294,8 @@
 /******************************************************************************
  *		OleInitializeWOW	[OLE32.@]
  */
-HRESULT WINAPI OleInitializeWOW(DWORD x) {
-        FIXME("(0x%08lx),stub!\n",x);
+HRESULT WINAPI OleInitializeWOW(DWORD x, DWORD y) {
+        FIXME("(0x%08lx, 0x%08lx),stub!\n",x, y);
         return 0;
 }
 
Index: dlls/ole32/ole32.spec
===================================================================
RCS file: /home/wine/wine/dlls/ole32/ole32.spec,v
retrieving revision 1.64
diff -u -r1.64 ole32.spec
--- dlls/ole32/ole32.spec	22 Jun 2005 18:38:23 -0000	1.64
+++ dlls/ole32/ole32.spec	22 Jul 2005 09:51:32 -0000
@@ -188,7 +188,7 @@
 @ stdcall OleGetIconOfClass(ptr ptr long)
 @ stub OleGetIconOfFile
 @ stdcall OleInitialize(ptr)
-@ stdcall OleInitializeWOW(long)
+@ stdcall OleInitializeWOW(long long)
 @ stdcall OleIsCurrentClipboard(ptr)
 @ stdcall OleIsRunning(ptr)
 @ stdcall OleLoad(ptr ptr ptr ptr)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050722/bfabec3c/attachment.pgp


More information about the wine-patches mailing list