Commit 5acb6f01 authored by David Hedberg's avatar David Hedberg Committed by Alexandre Julliard

include: Add INameSpaceTreeControlCustomDraw interface declaration.

parent c51b1e6d
......@@ -2195,3 +2195,52 @@ interface INameSpaceTreeControlEvents : IUnknown
[out] int *piDefaultIcon,
[out] int *piOpenIcon);
}
cpp_quote("#ifdef MIDL_PASS")
typedef IUnknown *HIMAGELIST;
cpp_quote("#endif")
/*****************************************************************************
* INameSpaceTreeControlCustomDraw interface
*/
[
object,
uuid(2D3BA758-33EE-42D5-BB7B-5F3431D86C78),
local
]
interface INameSpaceTreeControlCustomDraw : IUnknown
{
typedef struct NSTCCUSTOMDRAW
{
IShellItem *psi;
UINT uItemState;
NSTCITEMSTATE nstcis;
LPCWSTR pszText;
int iImage;
HIMAGELIST himl;
int iLevel;
int iIndent;
} NSTCCUSTOMDRAW;
HRESULT PrePaint(
[in] HDC hdc,
[in] RECT *prc,
[out] LRESULT *plres);
HRESULT PostPaint(
[in] HDC hdc,
[in] RECT *prc);
HRESULT ItemPrePaint(
[in] HDC hdc,
[in] RECT *prc,
[in, out] COLORREF *pclrText,
[in, out] COLORREF *pclrTextBk,
[out] LRESULT *plres);
HRESULT ItemPostPaint(
[in] HDC hdc,
[in] RECT *prc,
[in] NSTCCUSTOMDRAW *pnstccdItem);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment