Francois Gouget : shell32: Add some more function prototypes and fix the IsNetDrive() one.

Alexandre Julliard julliard at winehq.org
Mon Sep 24 16:04:28 CDT 2012


Module: wine
Branch: master
Commit: 79ea850eab4b47bee5c60b7bd44cb16b9e91c218
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=79ea850eab4b47bee5c60b7bd44cb16b9e91c218

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Sep 24 16:33:41 2012 +0200

shell32: Add some more function prototypes and fix the IsNetDrive() one.

---

 dlls/shell32/shlfileop.c |    4 ++--
 include/shlobj.h         |    5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 5fa79a9..d07c588 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -1708,7 +1708,7 @@ DWORD WINAPI SheChangeDirW(LPWSTR path)
 /*************************************************************************
  * IsNetDrive			[SHELL32.66]
  */
-BOOL WINAPI IsNetDrive(DWORD drive)
+int WINAPI IsNetDrive(int drive)
 {
 	char root[4];
 	strcpy(root, "A:\\");
@@ -1720,7 +1720,7 @@ BOOL WINAPI IsNetDrive(DWORD drive)
 /*************************************************************************
  * RealDriveType                [SHELL32.524]
  */
-INT WINAPI RealDriveType(INT drive, BOOL bQueryNet)
+int WINAPI RealDriveType(int drive, BOOL bQueryNet)
 {
     char root[] = "A:\\";
     root[0] += (char)drive;
diff --git a/include/shlobj.h b/include/shlobj.h
index 103a1cf..4502187 100644
--- a/include/shlobj.h
+++ b/include/shlobj.h
@@ -83,6 +83,8 @@ VOID         WINAPI SHUpdateImageW(LPCWSTR,INT,UINT,INT);
 int          WINAPI RestartDialog(HWND,LPCWSTR,DWORD);
 int          WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
 int          WINAPI DriveType(int);
+int          WINAPI RealDriveType(int, BOOL);
+int          WINAPI IsNetDrive(int);
 BOOL         WINAPI IsUserAnAdmin(void);
 UINT         WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG);
 BOOL         WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*);
@@ -1636,10 +1638,13 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *);
 #define PRF_TRYPROGRAMEXTENSIONS 0x03
 #define PRF_FIRSTDIRDEF          0x04
 #define PRF_DONTFINDLINK         0x08
+#define PRF_REQUIREABSOLUTE      0x10
 
 VOID WINAPI PathGetShortPath(LPWSTR pszPath);
 LONG WINAPI PathProcessCommand(LPCWSTR, LPWSTR, int, DWORD);
+int  WINAPI PathResolve(LPWSTR, PZPCWSTR, UINT);
 BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
+BOOL WINAPI Win32DeleteFile(LPCWSTR);
 
 /****************************************************************************
  * Drag And Drop Routines




More information about the wine-cvs mailing list