Commit d8860641 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Implemented RealDriveType.

parent afcf01ff
...@@ -282,7 +282,7 @@ ...@@ -282,7 +282,7 @@
521 stdcall SHLockShared (long long) 521 stdcall SHLockShared (long long)
522 stdcall SHUnlockShared (long) 522 stdcall SHUnlockShared (long)
523 stdcall SHFreeShared (long long) 523 stdcall SHFreeShared (long long)
524 stub RealDriveType 524 stdcall RealDriveType (long long)
525 stub RealDriveTypeFlags 525 stub RealDriveTypeFlags
640 stdcall NTSHChangeNotifyRegister (long long long long long long) 640 stdcall NTSHChangeNotifyRegister (long long long long long long)
......
...@@ -1310,3 +1310,14 @@ BOOL WINAPI IsNetDrive(DWORD drive) ...@@ -1310,3 +1310,14 @@ BOOL WINAPI IsNetDrive(DWORD drive)
root[0] += (char)drive; root[0] += (char)drive;
return (GetDriveTypeA(root) == DRIVE_REMOTE); return (GetDriveTypeA(root) == DRIVE_REMOTE);
} }
/*************************************************************************
* RealDriveType [SHELL32.524]
*/
INT WINAPI RealDriveType(INT drive, BOOL bQueryNet)
{
char root[] = "A:\\";
root[0] += (char)drive;
return GetDriveTypeA(root);
}
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