2 * Common controls v6 interface definitions
4 * Copyright 2009 Owen Rudge for CodeWeavers
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.
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.
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
24 /* Definitions required for widl, but already defined in commctrl.h for C */
26 typedef DWORD RGBQUAD;
27 typedef IUnknown* HIMAGELIST;
38 typedef IMAGEINFO* LPIMAGEINFO;
59 } IMAGELISTDRAWPARAMS;
61 typedef IMAGELISTDRAWPARAMS* LPIMAGELISTDRAWPARAMS;
64 cpp_quote("HRESULT WINAPI ImageList_CoCreateInstance(REFCLSID,const IUnknown *, REFIID,void **);")
66 const UINT ILIF_ALPHA = 1;
70 uuid(46EB5926-582E-4017-9FDF-E8998DAA0950),
71 helpstring("Image List"),
74 interface IImageList : IUnknown
77 [in] HBITMAP hbmImage,
86 HRESULT SetOverlayImage(
92 [in] HBITMAP hbmImage,
93 [in] HBITMAP hbmMask);
96 [in] HBITMAP hbmImage,
101 [in] IMAGELISTDRAWPARAMS* pimldp);
111 HRESULT GetImageInfo(
113 [out] IMAGEINFO* pImageInfo);
117 [in] IUnknown* punkSrc,
123 [in] IUnknown* punk2,
134 HRESULT GetImageRect(
146 HRESULT GetImageCount(
149 HRESULT SetImageCount(
150 [in] UINT uNewCount);
154 [out] COLORREF* pclr);
157 [out] COLORREF* pclr);
178 HRESULT SetDragCursorImage(
184 HRESULT DragShowNolock(
187 HRESULT GetDragImage(
189 [out] POINT * pptHotspot,
193 HRESULT GetItemFlags(
195 [out] DWORD *dwFlags);
197 HRESULT GetOverlayImage(
203 uuid(BCADA15B-B428-420c-8D28-023590924C9F)
205 library CommonControlObjects
208 uuid(7C476BA2-02B1-48f4-8048-B24619DDC058)
212 interface IImageList;