Vincent Povirk : shell32: Add SHPathPrepareForWrite and related constants.
Alexandre Julliard
julliard at winehq.org
Fri Sep 14 10:16:01 CDT 2007
Module: wine
Branch: master
Commit: f6aa17ce280e97b5cdc7089d1daf87a8a11e7831
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6aa17ce280e97b5cdc7089d1daf87a8a11e7831
Author: Vincent Povirk <madewokherd+d41d at gmail.com>
Date: Thu Sep 6 18:01:12 2007 -0400
shell32: Add SHPathPrepareForWrite and related constants.
---
include/shlobj.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/shlobj.h b/include/shlobj.h
index 414f452..5e88bb4 100644
--- a/include/shlobj.h
+++ b/include/shlobj.h
@@ -59,6 +59,9 @@ BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST,LPWSTR);
INT WINAPI SHHandleUpdateImage(LPCITEMIDLIST);
HRESULT WINAPI SHILCreateFromPath(LPCWSTR,LPITEMIDLIST*,DWORD*);
HRESULT WINAPI SHLoadOLE(LPARAM);
+HRESULT WINAPI SHPathPrepareForWriteA(HWND,IUnknown*,LPCSTR,DWORD);
+HRESULT WINAPI SHPathPrepareForWriteW(HWND,IUnknown*,LPCWSTR,DWORD);
+#define SHPathPrepareForWrite WINELIB_NAME_AW(SHPathPrepareForWrite);
UINT WINAPI SHReplaceFromPropSheetExtArray(HPSXA,UINT,LPFNADDPROPSHEETPAGE,LPARAM);
LPITEMIDLIST WINAPI SHSimpleIDListFromPath(LPCWSTR);
int WINAPI SHMapPIDLToSystemImageListIndex(IShellFolder*,LPCITEMIDLIST,int*);
@@ -78,6 +81,15 @@ int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
#define SHFMT_OPT_FULL 1
#define SHFMT_OPT_SYSONLY 2
+/* SHPathPrepareForWrite flags */
+#define SHPPFW_NONE 0x00000000
+#define SHPPFW_DIRCREATE 0x00000001
+#define SHPPFW_DEFAULT SHPPFW_DIRCREATE
+#define SHPPFW_ASKDIRCREATE 0x00000002
+#define SHPPFW_IGNOREFILENAME 0x00000004
+#define SHPPFW_NOWRITECHECK 0x00000008
+#define SHPPFW_MEDIACHECKONLY 0x00000010
+
/* SHObjectProperties flags */
#define SHOP_PRINTERNAME 0x01
#define SHOP_FILEPATH 0x02
More information about the wine-cvs
mailing list