Implement ImageList_SetColorTable.
This commit is contained in:
parent
b4eee49aa5
commit
684197178a
|
@ -95,7 +95,7 @@
|
|||
387 stdcall -noname DSA_EnumCallback(ptr ptr long)
|
||||
388 stdcall -noname DSA_DestroyCallback(ptr ptr long)
|
||||
389 stub -noname SHGetProcessDword
|
||||
390 stub -noname ImageList_SetColorTable
|
||||
390 stdcall -noname ImageList_SetColorTable(ptr long long ptr)
|
||||
400 stdcall -noname CreateMRUListW(ptr)
|
||||
401 stdcall -noname AddMRUStringW(long wstr)
|
||||
402 stdcall -noname FindMRUStringW(long wstr ptr)
|
||||
|
|
|
@ -2856,3 +2856,28 @@ static HBITMAP ImageList_CreateImage(HDC hdc, HIMAGELIST himl, UINT width, UINT
|
|||
TRACE("returning %p\n", hbmNewBitmap);
|
||||
return hbmNewBitmap;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* ImageList_SetColorTable [COMCTL32.@]
|
||||
*
|
||||
* Sets the color table of an image list.
|
||||
*
|
||||
* PARAMS
|
||||
* himl [I] Handle to the image list.
|
||||
* uStartIndex [I] The first index to set.
|
||||
* cEntries [I] Number of entries to set.
|
||||
* prgb [I] New color information for color table for the image list.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: Number of entries in the table that were set.
|
||||
* Failure: Zero.
|
||||
*
|
||||
* SEE
|
||||
* ImageList_Create(), SetDIBColorTable()
|
||||
*/
|
||||
|
||||
UINT WINAPI
|
||||
ImageList_SetColorTable (HIMAGELIST himl, UINT uStartIndex, UINT cEntries, CONST RGBQUAD * prgb)
|
||||
{
|
||||
return SetDIBColorTable(himl->hdcImage, uStartIndex, cEntries, prgb);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue