ReactOS 0.4.16-dev-297-gc569aee
commoncontrols.idl
Go to the documentation of this file.
1/*
2 * Common controls v6 interface definitions
3 *
4 * Copyright 2009 Owen Rudge for CodeWeavers
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21import "oaidl.idl";
22import "ocidl.idl";
23
24/* Definitions required for widl, but already defined in commctrl.h for C */
25cpp_quote("#if 0")
26typedef DWORD RGBQUAD;
28
29typedef struct
30{
36} IMAGEINFO;
37
39
40typedef struct
41{
44 int i;
46 int x;
47 int y;
48 int cx;
49 int cy;
60
62cpp_quote("#endif")
63
65
67
68[
69 uuid(46eb5926-582e-4017-9fdf-e8998daa0950),
70 local
71]
73{
75 [in] HBITMAP hbmImage,
76 [in] HBITMAP hbmMask,
77 [out] int* pi);
78
80 [in] int i,
81 [in] HICON hicon,
82 [out] int* pi);
83
85 [in] int iImage,
86 [in] int iOverlay);
87
89 [in] int i,
90 [in] HBITMAP hbmImage,
91 [in] HBITMAP hbmMask);
92
94 [in] HBITMAP hbmImage,
95 [in] COLORREF crMask,
96 [out] int* pi);
97
99 [in] IMAGELISTDRAWPARAMS* pimldp);
100
102 [in] int i);
103
105 [in] int i,
106 [in] UINT flags,
107 [out] HICON* picon);
108
110 [in] int i,
112
114 [in] int iDst,
115 [in] IUnknown* punkSrc,
116 [in] int iSrc,
117 [in] UINT uFlags);
118
120 [in] int i1,
121 [in] IUnknown* punk2,
122 [in] int i2,
123 [in] int dx,
124 [in] int dy,
125 [out] REFIID riid,
126 [out] PVOID* ppv);
127
129 [in] REFIID riid,
130 [out] PVOID* ppv);
131
133 [in] int i,
134 [out] RECT* prc);
135
137 [out] int* cx,
138 [out] int* cy);
139
141 [in] int cx,
142 [in] int cy);
143
145 [out] int* pi);
146
148 [in] UINT uNewCount);
149
151 [in] COLORREF clrBk,
152 [out] COLORREF* pclr);
153
155 [out] COLORREF* pclr);
156
158 [in] int iTrack,
159 [in] int dxHotspot,
160 [in] int dyHotspot);
161
163
165 [in] HWND hwndLock,
166 [in] int x,
167 [in] int y);
168
170 [in] HWND hwndLock);
171
173 [in] int x,
174 [in] int y);
175
177 [in] IUnknown* punk,
178 [in] int iDrag,
179 [in] int dxHotspot,
180 [in] int dyHotspot);
181
183 [in] BOOL fShow);
184
186 [out] POINT * ppt,
187 [out] POINT * pptHotspot,
188 [out] REFIID riid,
189 [out] PVOID* ppv);
190
192 [in] int i,
193 [out] DWORD *dwFlags);
194
196 [in] int iOverlay,
197 [out] int* piIndex);
198}
199
200[
201 uuid(192b9d83-50fc-457b-90a0-2b82a8b5dae1),
202 local
203]
205{
206 typedef struct tagIMAGELISTSTATS
207 {
213
214 HRESULT Resize(INT x_size, INT y_size);
218 HRESULT GetCallback([in] REFIID riid, [out, iid_is(riid)] void** ppv);
220 HRESULT DiscardImages([in] INT first_image, [in] INT last_image, [in] DWORD flags);
223 HRESULT Initialize([in] INT cx, [in] INT cy, [in] UINT flags, [in] INT initial, [in] INT grow);
226}
227
228[
229 uuid(bcada15B-b428-420c-8d28-023590924c9f)
230]
232{
233 [
234 uuid(7c476ba2-02b1-48f4-8048-b24619ddc058)
235 ]
236 coclass ImageList
237 {
238 interface IImageList;
239 interface IImageList2;
240 }
241}
#define interface
Definition: basetyps.h:61
PFOR_CONTEXT fc
Definition: for.c:57
FT_Library library
Definition: cffdrivr.c:654
IMAGEINFO * LPIMAGEINFO
const UINT ILIF_ALPHA
IMAGELISTDRAWPARAMS * LPIMAGELISTDRAWPARAMS
HRESULT WINAPI ImageList_CoCreateInstance(REFCLSID, const IUnknown *, REFIID, void **)
Definition: imagelist.c:3430
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491
UINT uFlags
Definition: api.c:59
ULONG RGBQUAD
Definition: precomp.h:59
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define local
Definition: zutil.h:30
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLenum src
Definition: glext.h:6340
const GLubyte * c
Definition: glext.h:8905
GLenum GLint GLuint mask
Definition: glext.h:6028
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLenum const GLfloat * params
Definition: glext.h:5645
GLuint in
Definition: glext.h:9616
GLbitfield flags
Definition: glext.h:7161
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT ReplaceFromImageList([in] INT i, [in] IImageList *imagelist, [in] INT src, [in, unique] IUnknown *unk, [in] DWORD flags)
HRESULT Replace2([in] INT i, [in] HBITMAP image, [in, unique] HBITMAP mask, [in, unique] IUnknown *unk, [in] DWORD flags)
HRESULT PreloadImages([in] IMAGELISTDRAWPARAMS *params)
HRESULT Initialize([in] INT cx, [in] INT cy, [in] UINT flags, [in] INT initial, [in] INT grow)
HRESULT Resize(INT x_size, INT y_size)
HRESULT GetCallback([in] REFIID riid, [out, iid_is(riid)] void **ppv)
HRESULT GetStatistics([in, out] IMAGELISTSTATS *stats)
HRESULT SetCallback([in, unique] IUnknown *callback)
HRESULT GetOriginalSize([in] INT image, [in] DWORD flags, [out] INT *cx, [out] INT *cy)
struct IImageList2::tagIMAGELISTSTATS IMAGELISTSTATS
HRESULT DiscardImages([in] INT first_image, [in] INT last_image, [in] DWORD flags)
HRESULT ForceImagePresent([in] INT image, DWORD flags)
HRESULT SetOriginalSize([in] INT image, [in] INT cx, [in] INT cy)
HRESULT ReplaceIcon([in] int i, [in] HICON hicon, [out] int *pi)
HRESULT GetImageInfo([in] int i, [out] IMAGEINFO *pImageInfo)
HRESULT GetDragImage([out] POINT *ppt, [out] POINT *pptHotspot, [out] REFIID riid, [out] PVOID *ppv)
HRESULT EndDrag()
HRESULT GetBkColor([out] COLORREF *pclr)
HRESULT GetIcon([in] int i, [in] UINT flags, [out] HICON *picon)
HRESULT Draw([in] IMAGELISTDRAWPARAMS *pimldp)
HRESULT Add([in] HBITMAP hbmImage, [in] HBITMAP hbmMask, [out] int *pi)
HRESULT Replace([in] int i, [in] HBITMAP hbmImage, [in] HBITMAP hbmMask)
HRESULT SetImageCount([in] UINT uNewCount)
HRESULT GetIconSize([out] int *cx, [out] int *cy)
HRESULT SetIconSize([in] int cx, [in] int cy)
HRESULT Clone([in] REFIID riid, [out] PVOID *ppv)
HRESULT GetImageRect([in] int i, [out] RECT *prc)
HRESULT DragMove([in] int x, [in] int y)
HRESULT DragEnter([in] HWND hwndLock, [in] int x, [in] int y)
HRESULT SetBkColor([in] COLORREF clrBk, [out] COLORREF *pclr)
HRESULT AddMasked([in] HBITMAP hbmImage, [in] COLORREF crMask, [out] int *pi)
HRESULT Merge([in] int i1, [in] IUnknown *punk2, [in] int i2, [in] int dx, [in] int dy, [out] REFIID riid, [out] PVOID *ppv)
HRESULT BeginDrag([in] int iTrack, [in] int dxHotspot, [in] int dyHotspot)
HRESULT GetImageCount([out] int *pi)
HRESULT GetItemFlags([in] int i, [out] DWORD *dwFlags)
HRESULT DragLeave([in] HWND hwndLock)
HRESULT Copy([in] int iDst, [in] IUnknown *punkSrc, [in] int iSrc, [in] UINT uFlags)
HRESULT GetOverlayImage([in] int iOverlay, [out] int *piIndex)
HRESULT DragShowNolock([in] BOOL fShow)
HRESULT Remove([in] int i)
HRESULT SetOverlayImage([in] int iImage, [in] int iOverlay)
HRESULT SetDragCursorImage([in] IUnknown *punk, [in] int iDrag, [in] int dxHotspot, [in] int dyHotspot)
Definition: msctf.idl:550
#define e
Definition: ke_i.h:82
GLint dy
Definition: linetemp.h:97
GLint dx
Definition: linetemp.h:97
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:88
static HICON
Definition: imagelist.c:80
static IPrintDialogCallback callback
Definition: printdlg.c:326
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:573
static refpint_t pi[]
Definition: server.c:96
unsigned int UINT
Definition: ndis.h:50
_Out_ LPRECT prc
Definition: ntgdi.h:1658
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585
_In_ int _Out_ IMAGEINFO * pImageInfo
Definition: commctrl.h:604
_Out_opt_ POINT * pptHotspot
Definition: commctrl.h:554
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
static FILE * out
Definition: regtests2xml.c:44
#define f4(x, y, z)
Definition: sha1.c:33
HBITMAP hbmMask
HBITMAP hbmImage
int32_t INT
Definition: typedefs.h:58
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
DWORD COLORREF
Definition: windef.h:300
#define WINAPI
Definition: msvc.h:6
#define const
Definition: zconf.h:233