SHGetMalloc() returns a HRESULT, not a DWORD.
This commit is contained in:
parent
36d0e5b73a
commit
dfa6b127c2
|
@ -423,7 +423,7 @@ static ICOM_VTABLE(IMalloc) VT_Shell_IMalloc32 =
|
||||||
* uses OLE32.CoGetMalloc if OLE32.DLL is already loaded.
|
* uses OLE32.CoGetMalloc if OLE32.DLL is already loaded.
|
||||||
* if not it uses a internal implementations as fallback.
|
* if not it uses a internal implementations as fallback.
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI SHGetMalloc(LPMALLOC *lpmal)
|
HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal)
|
||||||
{
|
{
|
||||||
HRESULT (WINAPI *pCoGetMalloc)(DWORD,LPMALLOC *);
|
HRESULT (WINAPI *pCoGetMalloc)(DWORD,LPMALLOC *);
|
||||||
HMODULE hOle32;
|
HMODULE hOle32;
|
||||||
|
|
|
@ -375,7 +375,7 @@ typedef struct _SHELLVIEWDATA /* idl */
|
||||||
DWORD viewmode; /* NF_* enum */
|
DWORD viewmode; /* NF_* enum */
|
||||||
} SHELLVIEWDATA, * LPSHELLVIEWDATA;
|
} SHELLVIEWDATA, * LPSHELLVIEWDATA;
|
||||||
|
|
||||||
DWORD WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
|
HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* SHGetSetSettings ()
|
* SHGetSetSettings ()
|
||||||
|
|
Loading…
Reference in New Issue