Commit 79ea850e authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent e2f30dc1
...@@ -1708,7 +1708,7 @@ DWORD WINAPI SheChangeDirW(LPWSTR path) ...@@ -1708,7 +1708,7 @@ DWORD WINAPI SheChangeDirW(LPWSTR path)
/************************************************************************* /*************************************************************************
* IsNetDrive [SHELL32.66] * IsNetDrive [SHELL32.66]
*/ */
BOOL WINAPI IsNetDrive(DWORD drive) int WINAPI IsNetDrive(int drive)
{ {
char root[4]; char root[4];
strcpy(root, "A:\\"); strcpy(root, "A:\\");
...@@ -1720,7 +1720,7 @@ BOOL WINAPI IsNetDrive(DWORD drive) ...@@ -1720,7 +1720,7 @@ BOOL WINAPI IsNetDrive(DWORD drive)
/************************************************************************* /*************************************************************************
* RealDriveType [SHELL32.524] * RealDriveType [SHELL32.524]
*/ */
INT WINAPI RealDriveType(INT drive, BOOL bQueryNet) int WINAPI RealDriveType(int drive, BOOL bQueryNet)
{ {
char root[] = "A:\\"; char root[] = "A:\\";
root[0] += (char)drive; root[0] += (char)drive;
......
...@@ -83,6 +83,8 @@ VOID WINAPI SHUpdateImageW(LPCWSTR,INT,UINT,INT); ...@@ -83,6 +83,8 @@ VOID WINAPI SHUpdateImageW(LPCWSTR,INT,UINT,INT);
int WINAPI RestartDialog(HWND,LPCWSTR,DWORD); int WINAPI RestartDialog(HWND,LPCWSTR,DWORD);
int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD); int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
int WINAPI DriveType(int); int WINAPI DriveType(int);
int WINAPI RealDriveType(int, BOOL);
int WINAPI IsNetDrive(int);
BOOL WINAPI IsUserAnAdmin(void); BOOL WINAPI IsUserAnAdmin(void);
UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG); UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG);
BOOL WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*); BOOL WINAPI Shell_GetImageLists(HIMAGELIST*,HIMAGELIST*);
...@@ -1636,10 +1638,13 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *); ...@@ -1636,10 +1638,13 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *);
#define PRF_TRYPROGRAMEXTENSIONS 0x03 #define PRF_TRYPROGRAMEXTENSIONS 0x03
#define PRF_FIRSTDIRDEF 0x04 #define PRF_FIRSTDIRDEF 0x04
#define PRF_DONTFINDLINK 0x08 #define PRF_DONTFINDLINK 0x08
#define PRF_REQUIREABSOLUTE 0x10
VOID WINAPI PathGetShortPath(LPWSTR pszPath); VOID WINAPI PathGetShortPath(LPWSTR pszPath);
LONG WINAPI PathProcessCommand(LPCWSTR, LPWSTR, int, DWORD); LONG WINAPI PathProcessCommand(LPCWSTR, LPWSTR, int, DWORD);
int WINAPI PathResolve(LPWSTR, PZPCWSTR, UINT);
BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR, LPCWSTR, LPCWSTR, LPCWSTR); BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
BOOL WINAPI Win32DeleteFile(LPCWSTR);
/**************************************************************************** /****************************************************************************
* Drag And Drop Routines * Drag And Drop Routines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment