Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
68419717
Commit
68419717
authored
Oct 18, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Oct 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement ImageList_SetColorTable.
parent
b4eee49a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
comctl32.spec
dlls/comctl32/comctl32.spec
+1
-1
imagelist.c
dlls/comctl32/imagelist.c
+25
-0
No files found.
dlls/comctl32/comctl32.spec
View file @
68419717
...
...
@@ -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 st
ub -noname ImageList_SetColorTable
390 st
dcall -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)
...
...
dlls/comctl32/imagelist.c
View file @
68419717
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment