[1/3] scrrun: Implement filesys_DriveExists. (resend)
Alexandre Julliard
julliard at winehq.org
Thu Jan 28 08:16:17 CST 2016
Joachim Priesner <joachim.priesner at web.de> writes:
> - return E_NOTIMPL;
> + if (!pfExists) return E_POINTER;
> + *pfExists = VARIANT_FALSE;
> + len = SysStringLen(DriveSpec);
> + if (len >= 1 && DriveSpec[0] >= 'A' && DriveSpec[0] <= 'Z'
> + && (len < 2 || DriveSpec[1] == ':')
> + && (len < 3 || DriveSpec[2] == '\\')) {
Surely lower-case drives should work too.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list