Fix the PropSysFreeString() prototype

Francois Gouget fgouget at free.fr
Wed Apr 20 10:05:54 CDT 2005


PropSysFreeString() is declared as stdcall both in the .spec file and in 
the ole2prop.h but it was missing the WINAPI qualifier in ole2.c.

Changelog:

  * dlls/ole32/ole2.c

    Francois Gouget <fgouget at free.fr>
    Specify the proper call convention in the PropSysFreeString() implementation.
    Fixes a winapi_check warning.

-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                   A black hole is just God dividing by zero.
-------------- next part --------------
Index: dlls/ole32/ole2.c
===================================================================
RCS file: /var/cvs/wine/dlls/ole32/ole2.c,v
retrieving revision 1.63
diff -u -p -r1.63 ole2.c
--- dlls/ole32/ole2.c	13 Apr 2005 11:13:55 -0000	1.63
+++ dlls/ole32/ole2.c	20 Apr 2005 10:53:47 -0000
@@ -2411,7 +2411,7 @@ BSTR WINAPI PropSysAllocString(LPCOLESTR
  * NOTES
  *  Copy of SysFreeString.
  */
-void PropSysFreeString(LPOLESTR str)
+void WINAPI PropSysFreeString(LPOLESTR str)
 {
     DWORD* bufferPointer;
 


More information about the wine-patches mailing list