SHGetMalloc() returns a HRESULT, not a DWORD.

oldstable
Dimitrie O. Paun 2003-01-03 03:07:21 +00:00 committed by Alexandre Julliard
parent 36d0e5b73a
commit dfa6b127c2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 ()