43 #ifndef QFILEDIAG_WIN_P_H 44 #define QFILEDIAG_WIN_P_H 52 #define FOS_OVERWRITEPROMPT 0x2 53 #define FOS_STRICTFILETYPES 0x4 54 #define FOS_NOCHANGEDIR 0x8 55 #define FOS_PICKFOLDERS 0x20 56 #define FOS_FORCEFILESYSTEM 0x40 57 #define FOS_ALLNONSTORAGEITEMS 0x80 58 #define FOS_NOVALIDATE 0x100 59 #define FOS_ALLOWMULTISELECT 0x200 60 #define FOS_PATHMUSTEXIST 0x800 61 #define FOS_FILEMUSTEXIST 0x1000 62 #define FOS_CREATEPROMPT 0x2000 63 #define FOS_SHAREAWARE 0x4000 64 #define FOS_NOREADONLYRETURN 0x8000 65 #define FOS_NOTESTFILECREATE 0x10000 66 #define FOS_HIDEMRUPLACES 0x20000 67 #define FOS_HIDEPINNEDPLACES 0x40000 68 #define FOS_NODEREFERENCELINKS 0x100000 69 #define FOS_DONTADDTORECENT 0x2000000 70 #define FOS_FORCESHOWHIDDEN 0x10000000 71 #define FOS_DEFAULTNOMINIMODE 0x20000000 72 #define FOS_FORCEPREVIEWPANEON 0x40000000 75 #define GPS_DEFAULT 0x00000000 76 #define GPS_HANDLERPROPERTIESONLY 0x00000001 77 #define GPS_READWRITE 0x00000002 78 #define GPS_TEMPORARY 0x00000004 79 #define GPS_FASTPROPERTIESONLY 0x00000008 80 #define GPS_OPENSLOWITEM 0x00000010 81 #define GPS_DELAYCREATION 0x00000020 82 #define GPS_BESTEFFORT 0x00000040 83 #define GPS_MASK_VALID 0x0000007F 87 #define BFFM_INITIALIZED 1 88 #define BFFM_SELCHANGED 2 89 #define BFFM_ENABLEOK (WM_USER + 101) 90 #define BFFM_SETSELECTION (WM_USER + 103) 91 #define BFFM_SETSTATUSTEXT (WM_USER + 104) 94 #define BIF_RETURNONLYFSDIRS 0x0001 95 #define BIF_DONTGOBELOWDOMAIN 0x0002 96 #define BIF_STATUSTEXT 0x0004 97 #define BIF_RETURNFSANCESTORS 0x0008 98 #define BIF_EDITBOX 0x0010 99 #define BIF_VALIDATE 0x0020 100 #define BIF_NEWDIALOGSTYLE 0x0040 101 #define BIF_BROWSEINCLUDEURLS 0x0080 102 #define BIF_UAHINT 0x0100 103 #define BIF_NONEWFOLDERBUTTON 0x0200 104 #define BIF_NOTRANSLATETARGETS 0x0400 105 #define BIF_BROWSEFORCOMPUTER 0x1000 106 #define BIF_BROWSEFORPRINTER 0x2000 107 #define BIF_BROWSEINCLUDEFILES 0x4000 108 #define BIF_SHAREABLE 0x8000 170 STDMETHOD(BindToHandler)(THIS_ IBindCtx *pbc,
REFGUID bhid, REFIID riid,
void **ppv) PURE;
171 STDMETHOD(GetParent)(THIS_ IShellItem **ppsi) PURE;
172 STDMETHOD(GetDisplayName)(THIS_
SIGDN sigdnName, LPWSTR *ppszName) PURE;
173 STDMETHOD(GetAttributes)(THIS_ ULONG sfgaoMask, ULONG *psfgaoAttribs) PURE;
174 STDMETHOD(Compare)(THIS_ IShellItem *psi, DWORD hint,
int *piOrder) PURE;
178 STDMETHOD(IncludeItem)(THIS_ IShellItem *psi) PURE;
179 STDMETHOD(GetEnumFlagsForItem)(THIS_ IShellItem *psi, DWORD *pgrfFlags) PURE;
183 STDMETHOD(Next)(THIS_ ULONG celt, IShellItem **rgelt, ULONG *pceltFetched) PURE;
184 STDMETHOD(Skip)(THIS_ ULONG celt) PURE;
185 STDMETHOD(Reset)(THIS_) PURE;
186 STDMETHOD(Clone)(THIS_ IEnumShellItems **ppenum) PURE;
190 STDMETHOD(BindToHandler)(THIS_ IBindCtx *pbc,
REFGUID rbhid, REFIID riid,
void **ppvOut) PURE;
192 STDMETHOD(GetPropertyDescriptionList)(THIS_
const qt_PROPERTYKEY *keyType, REFIID riid,
void **ppv) PURE;
193 STDMETHOD(GetAttributes)(THIS_
SIATTRIBFLAGS dwAttribFlags, ULONG sfgaoMask, ULONG *psfgaoAttribs) PURE;
194 STDMETHOD(GetCount)(THIS_ DWORD *pdwNumItems) PURE;
195 STDMETHOD(GetItemAt)(THIS_ DWORD dwIndex, IShellItem **ppsi) PURE;
196 STDMETHOD(EnumItems)(THIS_ IEnumShellItems **ppenumShellItems) PURE;
200 STDMETHOD(Show)(THIS_ HWND hwndParent) PURE;
205 STDMETHOD(SetFileTypeIndex)(THIS_ UINT iFileType) PURE;
206 STDMETHOD(GetFileTypeIndex)(THIS_ UINT *piFileType) PURE;
207 STDMETHOD(Advise)(THIS_ IFileDialogEvents *pfde, DWORD *pdwCookie) PURE;
208 STDMETHOD(Unadvise)(THIS_ DWORD dwCookie) PURE;
209 STDMETHOD(SetOptions)(THIS_ DWORD fos) PURE;
210 STDMETHOD(GetOptions)(THIS_ DWORD *pfos) PURE;
211 STDMETHOD(SetDefaultFolder)(THIS_ IShellItem *psi) PURE;
212 STDMETHOD(SetFolder)(THIS_ IShellItem *psi) PURE;
213 STDMETHOD(GetFolder)(THIS_ IShellItem **ppsi) PURE;
214 STDMETHOD(GetCurrentSelection)(THIS_ IShellItem **ppsi) PURE;
215 STDMETHOD(SetFileName)(THIS_ LPCWSTR pszName) PURE;
216 STDMETHOD(GetFileName)(THIS_ LPWSTR *pszName) PURE;
217 STDMETHOD(SetTitle)(THIS_ LPCWSTR pszTitle) PURE;
218 STDMETHOD(SetOkButtonLabel)(THIS_ LPCWSTR pszText) PURE;
219 STDMETHOD(SetFileNameLabel)(THIS_ LPCWSTR pszLabel) PURE;
220 STDMETHOD(GetResult)(THIS_ IShellItem **ppsi) PURE;
221 STDMETHOD(AddPlace)(THIS_ IShellItem *psi,
FDAP fdap) PURE;
222 STDMETHOD(SetDefaultExtension)(THIS_ LPCWSTR pszDefaultExtension) PURE;
223 STDMETHOD(Close)(THIS_
HRESULT hr) PURE;
224 STDMETHOD(SetClientGuid)(THIS_
REFGUID guid) PURE;
225 STDMETHOD(ClearClientData)(THIS_) PURE;
226 STDMETHOD(SetFilter)(THIS_ IShellItemFilter *pFilter) PURE;
230 STDMETHOD(OnFileOk)(THIS_ IFileDialog *pfd) PURE;
231 STDMETHOD(OnFolderChanging)(THIS_ IFileDialog *pfd, IShellItem *psiFolder) PURE;
232 STDMETHOD(OnFolderChange)(THIS_ IFileDialog *pfd) PURE;
233 STDMETHOD(OnSelectionChange)(THIS_ IFileDialog *pfd) PURE;
235 STDMETHOD(OnTypeChange)(THIS_ IFileDialog *pfd) PURE;
240 STDMETHOD(GetResults)(THIS_ IShellItemArray **ppenum) PURE;
241 STDMETHOD(GetSelectedItems)(THIS_ IShellItemArray **ppsai) PURE;
DECLARE_INTERFACE(IFileDialogEvents)
int GETPROPERTYSTOREFLAGS
FDE_SHAREVIOLATION_RESPONSE FDE_OVERWRITE_RESPONSE
DECLARE_INTERFACE_(IShellItem, IUnknown)
struct qt_ITEMIDLIST * qt_LPITEMIDLIST
qt_LPCITEMIDLIST pidlRoot
const qt_ITEMIDLIST * qt_LPCITEMIDLIST
FDE_SHAREVIOLATION_RESPONSE
int(QT_WIN_CALLBACK * BFFCALLBACK)(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
struct qt_SHITEMID * qt_LPSHITEMID