David Hedberg : include: Add IFileDialogCustomize interface declaration.
Alexandre Julliard
julliard at winehq.org
Wed Jul 21 10:55:03 CDT 2010
Module: wine
Branch: master
Commit: cdfe614fcc815a12651da89332d6b3627a2932b0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cdfe614fcc815a12651da89332d6b3627a2932b0
Author: David Hedberg <david.hedberg at gmail.com>
Date: Tue Jul 20 16:39:12 2010 +0200
include: Add IFileDialogCustomize interface declaration.
---
include/shobjidl.idl | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 124 insertions(+), 0 deletions(-)
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index bc813ed..9b5fc17 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -2632,3 +2632,127 @@ interface IFileOpenDialog : IFileDialog
HRESULT GetSelectedItems(
[out] IShellItemArray **ppsai);
}
+
+typedef [v1_enum] enum CDCONTROLSTATEF
+{
+ CDCS_INACTIVE = 0x0,
+ CDCS_ENABLED = 0x1,
+ CDCS_VISIBLE = 0x2,
+ CDCS_ENABLEDVISIBLE = 0x3
+} CDCONTROLSTATEF;
+cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(CDCONTROLSTATEF)")
+/*****************************************************************************
+ * IFileDialogCustomize interface
+ */
+[
+ object,
+ uuid(E6FDD21A-163F-4975-9C8C-A69F1BA37034),
+ pointer_default(unique)
+]
+interface IFileDialogCustomize : IUnknown
+{
+ HRESULT EnableOpenDropDown(
+ [in] DWORD dwIDCtl);
+
+ HRESULT AddMenu(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszLabel);
+
+ HRESULT AddPushButton(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszLabel);
+
+ HRESULT AddComboBox(
+ [in] DWORD dwIDCtl);
+
+ HRESULT AddRadioButtonList(
+ [in] DWORD dwIDCtl);
+
+ HRESULT AddCheckButton(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszLabel,
+ [in] BOOL bChecked);
+
+ HRESULT AddEditBox(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszText);
+
+ HRESULT AddSeparator(
+ [in] DWORD dwIDCtl);
+
+ HRESULT AddText(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszText);
+
+ HRESULT SetControlLabel(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszLabel);
+
+ HRESULT GetControlState(
+ [in] DWORD dwIDCtl,
+ [out] CDCONTROLSTATEF *pdwState);
+
+ HRESULT SetControlState(
+ [in] DWORD dwIDCtl,
+ [in] CDCONTROLSTATEF dwState);
+
+ HRESULT GetEditBoxText(
+ [in] DWORD dwIDCtl,
+ [out, string] WCHAR **ppszText);
+
+ HRESULT SetEditBoxText(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszText);
+
+ HRESULT GetCheckButtonState(
+ [in] DWORD dwIDCtl,
+ [out] BOOL *pbChecked);
+
+ HRESULT SetCheckButtonState(
+ [in] DWORD dwIDCtl,
+ [in] BOOL bChecked);
+
+ HRESULT AddControlItem(
+ [in] DWORD dwIDCtl,
+ [in] DWORD dwIDItem,
+ [in] LPCWSTR pszLabel);
+
+ HRESULT RemoveControlItem(
+ [in] DWORD dwIDCtl,
+ [in] DWORD dwIDItem);
+
+ HRESULT RemoveAllControlItems(
+ [in] DWORD dwIDCtl);
+
+ HRESULT GetControlItemState(
+ [in] DWORD dwIDCtl,
+ [in] DWORD dwIDItem,
+ [out] CDCONTROLSTATEF *pdwState);
+
+ HRESULT SetControlItemState(
+ [in] DWORD dwIDCtl,
+ [in] DWORD dwIDItem,
+ [in] CDCONTROLSTATEF dwState);
+
+ HRESULT GetSelectedControlItem(
+ [in] DWORD dwIDCtl,
+ [out] DWORD *pdwIDItem);
+
+ HRESULT SetSelectedControlItem(
+ [in] DWORD dwIDCtl,
+ [in] DWORD dwIDItem);
+
+ HRESULT StartVisualGroup(
+ [in] DWORD dwIDCtl,
+ [in, string] LPCWSTR pszLabel);
+
+ HRESULT EndVisualGroup();
+
+ HRESULT MakeProminent(
+ [in] DWORD dwIDCtl);
+
+ HRESULT SetControlItemText(
+ [in] DWORD dwIDCtl,
+ [in] DWORD dwIDItem,
+ [in, string] LPCWSTR pszLabel);
+}
More information about the wine-cvs
mailing list