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

oldstable
Francois Gouget 2012-09-24 16:33:41 +02:00 committed by Alexandre Julliard
parent e2f30dc115
commit 79ea850eab
2 changed files with 7 additions and 2 deletions

View File

@ -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;

View File

@ -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