Commit dfa6b127 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

SHGetMalloc() returns a HRESULT, not a DWORD.

parent 36d0e5b7
......@@ -423,7 +423,7 @@ static ICOM_VTABLE(IMalloc) VT_Shell_IMalloc32 =
* uses OLE32.CoGetMalloc if OLE32.DLL is already loaded.
* if not it uses a internal implementations as fallback.
*/
DWORD WINAPI SHGetMalloc(LPMALLOC *lpmal)
HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal)
{
HRESULT (WINAPI *pCoGetMalloc)(DWORD,LPMALLOC *);
HMODULE hOle32;
......
......@@ -375,7 +375,7 @@ typedef struct _SHELLVIEWDATA /* idl */
DWORD viewmode; /* NF_* enum */
} SHELLVIEWDATA, * LPSHELLVIEWDATA;
DWORD WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
/**********************************************************************
* SHGetSetSettings ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment