[PATCH 5/9] include: Add INameSpaceTreeControlCustomDraw interface declaration.
David Hedberg
david.hedberg at gmail.com
Sat Jul 17 10:22:02 CDT 2010
---
include/shobjidl.idl | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index 29dc64f..f54e77e 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -2196,3 +2196,38 @@ interface INameSpaceTreeControlEvents : IUnknown
[out, annotation("__out")] int *piDefaultIcon,
[out, annotation("__out")] int *piOpenIcon);
}
+
+/*****************************************************************************
+ * INameSpaceTreeControlCustomDraw interface
+ */
+[
+ object,
+ uuid(2D3BA758-33EE-42D5-BB7B-5F3431D86C78),
+ local
+]
+
+interface INameSpaceTreeControlCustomDraw : IUnknown
+{
+ typedef DWORD NSTCCUSTOMDRAW; /*FIXME*/
+
+ HRESULT PrePaint(
+ [in, annotation("__in")] HDC hdc,
+ [in, annotation("__in")] RECT *prc,
+ [out, annotation("__out")] LRESULT *plres);
+
+ HRESULT PostPaint(
+ [in, annotation("__in")] HDC hdc,
+ [in, annotation("__in")] RECT *prc);
+
+ HRESULT ItemPrePaint(
+ [in, annotation("__in")] HDC hdc,
+ [in, annotation("__in")] RECT *prc,
+ [in, out, annotation("__inout")] COLORREF *pclrText,
+ [in, out, annotation("__inout")] COLORREF *pclrTextBk,
+ [out, annotation("__out")] LRESULT *plres);
+
+ HRESULT ItemPostPaint(
+ [in, annotation("__in")] HDC hdc,
+ [in, annotation("__in")] RECT *prc,
+ [in, annotation("__in")] NSTCCUSTOMDRAW *pnstccdItem);
+}
--
1.7.1.1
More information about the wine-patches
mailing list