Commit dd7d344f authored by Roman Pišl's avatar Roman Pišl Committed by Alexandre Julliard

comctl32: Fix return type of ImageList_WriteEx.

parent 2318484e
......@@ -3061,10 +3061,10 @@ failed:
/*************************************************************************
* ImageList_WriteEx [COMCTL32.@]
*/
BOOL WINAPI ImageList_WriteEx(HIMAGELIST himl, DWORD flags, IStream *pstm)
HRESULT WINAPI ImageList_WriteEx(HIMAGELIST himl, DWORD flags, IStream *pstm)
{
FIXME("%p %08x %p: semi-stub\n", himl, flags, pstm);
return ImageList_Write(himl, pstm);
return ImageList_Write(himl, pstm) ? S_OK : E_FAIL;
}
/*************************************************************************
......
......@@ -602,7 +602,7 @@ BOOL WINAPI ImageList_SetOverlayImage(HIMAGELIST,INT,INT);
#ifdef __IStream_INTERFACE_DEFINED__
HIMAGELIST WINAPI ImageList_Read(LPSTREAM);
BOOL WINAPI ImageList_Write(HIMAGELIST,IStream*);
BOOL WINAPI ImageList_WriteEx(HIMAGELIST,DWORD,IStream*);
HRESULT WINAPI ImageList_WriteEx(HIMAGELIST,DWORD,IStream*);
#endif
#define ImageList_AddIcon(himl,hicon) ImageList_ReplaceIcon(himl,-1,hicon)
......
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