[PATCH 8/8] include: Add IFileDialogControlEvents interface declaration. (resend)

David Hedberg david.hedberg at gmail.com
Tue Jul 20 08:02:55 CDT 2010


---
 include/shobjidl.idl |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index 19cfa8a..c99279a 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -2743,3 +2743,32 @@ interface IFileDialogCustomize : IUnknown
         [in] DWORD dwIDItem,
         [in, string] LPCWSTR pszLabel);
 }
+
+/*****************************************************************************
+ * IFileDialogControlEvents interface
+ */
+[
+ object,
+ uuid(36116642-D713-4B97-9B83-7484A9D00433),
+ pointer_default(unique)
+]
+interface IFileDialogControlEvents : IUnknown
+{
+    HRESULT OnItemSelected(
+        [in] IFileDialogCustomize *pfdc,
+        [in] DWORD dwIDCtl,
+        [in] DWORD dwIDItem);
+
+    HRESULT OnButtonClicked(
+        [in] IFileDialogCustomize *pfdc,
+        [in] DWORD dwIDCtl);
+
+    HRESULT OnCheckButtonToggled(
+        [in] IFileDialogCustomize *pfdc,
+        [in] BOOL dwIDCtl,
+        [in] BOOL bChecked);
+
+    HRESULT OnControlActivating(
+        [in] IFileDialogCustomize *pfdc,
+        [in] DWORD dwIDCtl);
+}
-- 
1.7.1.1




More information about the wine-patches mailing list