Author: akhaldi
Date: Sat Sep 27 00:05:34 2014
New Revision: 64321
URL:
http://svn.reactos.org/svn/reactos?rev=64321&view=rev
Log:
[PSDK]
* Add CDRF_NOTIFYITEMERASE.
* Update commoncontrols.idl.
CORE-8540
Modified:
trunk/reactos/include/psdk/commctrl.h
trunk/reactos/include/psdk/commoncontrols.idl
Modified: trunk/reactos/include/psdk/commctrl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/commctrl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/commctrl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/commctrl.h [iso-8859-1] Sat Sep 27 00:05:34 2014
@@ -247,6 +247,7 @@
#define CDRF_NOTIFYITEMDRAW 0x20
#define CDRF_NOTIFYSUBITEMDRAW 0x20
#define CDRF_NOTIFYPOSTERASE 0x40
+#define CDRF_NOTIFYITEMERASE 0x00000080 /* obsolete ??? */
#define CDDS_PREPAINT 0x1
#define CDDS_POSTPAINT 0x2
Modified: trunk/reactos/include/psdk/commoncontrols.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/commoncontrol…
==============================================================================
--- trunk/reactos/include/psdk/commoncontrols.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/commoncontrols.idl [iso-8859-1] Sat Sep 27 00:05:34 2014
@@ -66,9 +66,7 @@
const UINT ILIF_ALPHA = 1;
[
- object,
- uuid(46EB5926-582E-4017-9FDF-E8998DAA0950),
- helpstring("Image List"),
+ uuid(46eb5926-582e-4017-9fdf-e8998daa0950),
local
]
interface IImageList : IUnknown
@@ -200,15 +198,44 @@
}
[
- uuid(BCADA15B-B428-420c-8D28-023590924C9F)
+ uuid(192b9d83-50fc-457b-90a0-2b82a8b5dae1),
+ local
+]
+interface IImageList2 : IImageList
+{
+ typedef struct tagIMAGELISTSTATS
+ {
+ DWORD cbSize;
+ INT cAlloc;
+ INT cUsed;
+ INT cStandby;
+ } IMAGELISTSTATS;
+
+ HRESULT Resize(INT x_size, INT y_size);
+ HRESULT GetOriginalSize([in] INT image, [in] DWORD flags, [out] INT *cx, [out] INT
*cy);
+ HRESULT SetOriginalSize([in] INT image, [in] INT cx, [in] INT cy);
+ HRESULT SetCallback([in, unique] IUnknown *callback);
+ HRESULT GetCallback([in] REFIID riid, [out, iid_is(riid)] void** ppv);
+ HRESULT ForceImagePresent([in] INT image, DWORD flags);
+ HRESULT DiscardImages([in] INT first_image, [in] INT last_image, [in] DWORD flags);
+ HRESULT PreloadImages([in] IMAGELISTDRAWPARAMS *params);
+ HRESULT GetStatistics([in, out] IMAGELISTSTATS *stats);
+ HRESULT Initialize([in] INT cx, [in] INT cy, [in] UINT flags, [in] INT initial, [in]
INT grow);
+ HRESULT Replace2([in] INT i, [in] HBITMAP image, [in, unique] HBITMAP mask, [in,
unique] IUnknown *unk, [in] DWORD flags);
+ HRESULT ReplaceFromImageList([in] INT i, [in] IImageList *imagelist, [in] INT src,
[in, unique] IUnknown *unk, [in] DWORD flags);
+}
+
+[
+ uuid(bcada15B-b428-420c-8d28-023590924c9f)
]
library CommonControlObjects
{
[
- uuid(7C476BA2-02B1-48f4-8048-B24619DDC058)
+ uuid(7c476ba2-02b1-48f4-8048-b24619ddc058)
]
coclass ImageList
{
interface IImageList;
+ interface IImageList2;
}
}