fix SHGetMalloc() signature

Dimitrie O. Paun dpaun at rogers.com
Thu Jan 2 14:29:13 CST 2003


ChangeLog
  SHGetMalloc() returns a HRESULT, not a DWORD.

Index: include/shlobj.h
===================================================================
RCS file: /var/cvs/wine/include/shlobj.h,v
retrieving revision 1.56
diff -u -r1.56 shlobj.h
--- include/shlobj.h    23 Dec 2002 01:33:16 -0000      1.56
+++ include/shlobj.h    2 Jan 2003 06:57:53 -0000
@@ -375,7 +375,7 @@
   DWORD           viewmode;  /* NF_* enum */
 } SHELLVIEWDATA, * LPSHELLVIEWDATA;

-DWORD WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
+HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal) ;

 /**********************************************************************
  * SHGetSetSettings ()

-- 
Dimi.




More information about the wine-patches mailing list