Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
956a52bd
Commit
956a52bd
authored
Aug 12, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Aug 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Add stubs for image list functions introduced in Vista.
parent
1556fbf8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
0 deletions
+50
-0
comctl32.spec
dlls/comctl32/comctl32.spec
+2
-0
imagelist.c
dlls/comctl32/imagelist.c
+45
-0
commctrl.h
include/commctrl.h
+1
-0
commoncontrols.idl
include/commoncontrols.idl
+2
-0
No files found.
dlls/comctl32/comctl32.spec
View file @
956a52bd
...
...
@@ -139,10 +139,12 @@
@ stdcall FlatSB_SetScrollRange (long long long long long)
@ stdcall FlatSB_ShowScrollBar (long long long)
@ stdcall GetMUILanguage()
@ stdcall HIMAGELIST_QueryInterface(ptr ptr ptr)
@ stdcall ImageList_Add(ptr long long)
@ stdcall ImageList_AddIcon(ptr long)
@ stdcall ImageList_AddMasked(ptr long long)
@ stdcall ImageList_BeginDrag(ptr long long long)
@ stdcall ImageList_CoCreateInstance(ptr ptr ptr ptr)
@ stdcall ImageList_Copy(ptr long ptr long long)
@ stdcall ImageList_Create(long long long long long)
@ stdcall ImageList_Destroy(ptr)
...
...
dlls/comctl32/imagelist.c
View file @
956a52bd
...
...
@@ -6,6 +6,7 @@
* Copyright 2001, 2004 Michael Stefaniuc
* Copyright 2001 Charles Loep for CodeWeavers
* Copyright 2002 Dimitrie O. Paun
* Copyright 2009 Owen Rudge for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -2906,3 +2907,47 @@ ImageList_SetColorTable (HIMAGELIST himl, UINT uStartIndex, UINT cEntries, CONST
{
return
SetDIBColorTable
(
himl
->
hdcImage
,
uStartIndex
,
cEntries
,
prgb
);
}
/*************************************************************************
* ImageList_CoCreateInstance [COMCTL32.@]
*
* Creates a new imagelist instance and returns an interface pointer to it.
*
* PARAMS
* rclsid [I] A reference to the CLSID (CLSID_ImageList).
* punkOuter [I] Pointer to IUnknown interface for aggregation, if desired
* riid [I] Identifier of the requested interface.
* ppv [O] Returns the address of the pointer requested, or NULL.
*
* RETURNS
* Success: S_OK.
* Failure: Error value.
*/
HRESULT
WINAPI
ImageList_CoCreateInstance
(
REFCLSID
rclsid
,
const
IUnknown
*
punkOuter
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"STUB: %s %p %s %p
\n
"
,
debugstr_guid
(
rclsid
),
punkOuter
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
/*************************************************************************
* HIMAGELIST_QueryInterface [COMCTL32.@]
*
* Returns a pointer to an IImageList or IImageList2 object for the given
* HIMAGELIST.
*
* PARAMS
* himl [I] Image list handle.
* riid [I] Identifier of the requested interface.
* ppv [O] Returns the address of the pointer requested, or NULL.
*
* RETURNS
* Success: S_OK.
* Failure: Error value.
*/
HRESULT
WINAPI
HIMAGELIST_QueryInterface
(
HIMAGELIST
himl
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"STUB: %p %s %p
\n
"
,
himl
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
include/commctrl.h
View file @
956a52bd
...
...
@@ -584,6 +584,7 @@ typedef struct _IMAGELISTDRAWPARAMS
}
IMAGELISTDRAWPARAMS
,
*
LPIMAGELISTDRAWPARAMS
;
HRESULT
WINAPI
HIMAGELIST_QueryInterface
(
HIMAGELIST
,
REFIID
,
void
**
);
INT
WINAPI
ImageList_Add
(
HIMAGELIST
,
HBITMAP
,
HBITMAP
);
INT
WINAPI
ImageList_AddMasked
(
HIMAGELIST
,
HBITMAP
,
COLORREF
);
BOOL
WINAPI
ImageList_BeginDrag
(
HIMAGELIST
,
INT
,
INT
,
INT
);
...
...
include/commoncontrols.idl
View file @
956a52bd
...
...
@@ -61,6 +61,8 @@ typedef struct
typedef
IMAGELISTDRAWPARAMS
*
LPIMAGELISTDRAWPARAMS
;
cpp_quote
(
"#endif"
)
cpp_quote
(
"HRESULT WINAPI ImageList_CoCreateInstance(REFCLSID,const IUnknown *, REFIID,void **);"
)
const
UINT
ILIF_ALPHA
=
1
;
[
...
...
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