[3/3] scrrun: Implement filesys_GetDrive for local drives.
bunglehead at gmail.com
Thu Oct 15 11:14:06 CDT 2015
On 15.10.2015 13:56, Joachim Priesner wrote:
> + DriveSpec = toupperW(DriveSpec);
> + if (DriveSpec < 'A' || DriveSpec > 'Z'
> + || (len >= 2 && DriveSpec != ':')
> + || (len == 3 && DriveSpec != '\\'))
> + return E_INVALIDARG;
> + hr = filesys_DriveExists(iface, DriveSpec, &drive_exists);
I'm not sure about that sanity check, the reason is that DriveExists
doesn't fail on invalid drivespec?
Also please use method wrappers internally, instead of calling
implementation functions, I'm talking about filesys_DriveExists.
More information about the wine-devel