mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 20:22:05 +00:00
[PSDK]
* Add CDRF_NOTIFYITEMERASE. * Update commoncontrols.idl. CORE-8540 svn path=/trunk/; revision=64321
This commit is contained in:
parent
029716d646
commit
1856b68dfa
2 changed files with 33 additions and 5 deletions
|
@ -247,6 +247,7 @@ extern "C" {
|
||||||
#define CDRF_NOTIFYITEMDRAW 0x20
|
#define CDRF_NOTIFYITEMDRAW 0x20
|
||||||
#define CDRF_NOTIFYSUBITEMDRAW 0x20
|
#define CDRF_NOTIFYSUBITEMDRAW 0x20
|
||||||
#define CDRF_NOTIFYPOSTERASE 0x40
|
#define CDRF_NOTIFYPOSTERASE 0x40
|
||||||
|
#define CDRF_NOTIFYITEMERASE 0x00000080 /* obsolete ??? */
|
||||||
|
|
||||||
#define CDDS_PREPAINT 0x1
|
#define CDDS_PREPAINT 0x1
|
||||||
#define CDDS_POSTPAINT 0x2
|
#define CDDS_POSTPAINT 0x2
|
||||||
|
|
|
@ -66,9 +66,7 @@ cpp_quote("HRESULT WINAPI ImageList_CoCreateInstance(REFCLSID,const IUnknown *,
|
||||||
const UINT ILIF_ALPHA = 1;
|
const UINT ILIF_ALPHA = 1;
|
||||||
|
|
||||||
[
|
[
|
||||||
object,
|
uuid(46eb5926-582e-4017-9fdf-e8998daa0950),
|
||||||
uuid(46EB5926-582E-4017-9FDF-E8998DAA0950),
|
|
||||||
helpstring("Image List"),
|
|
||||||
local
|
local
|
||||||
]
|
]
|
||||||
interface IImageList : IUnknown
|
interface IImageList : IUnknown
|
||||||
|
@ -200,15 +198,44 @@ interface IImageList : IUnknown
|
||||||
}
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
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
|
library CommonControlObjects
|
||||||
{
|
{
|
||||||
[
|
[
|
||||||
uuid(7C476BA2-02B1-48f4-8048-B24619DDC058)
|
uuid(7c476ba2-02b1-48f4-8048-b24619ddc058)
|
||||||
]
|
]
|
||||||
coclass ImageList
|
coclass ImageList
|
||||||
{
|
{
|
||||||
interface IImageList;
|
interface IImageList;
|
||||||
|
interface IImageList2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue