mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
[SETUPAPI]
* Apply a default date of 00/00/0000 when DriverVer is missing. Should fix installation of drivers which do not provide a DriverVer directive. See issue #6676 for more details. svn path=/trunk/; revision=54958
This commit is contained in:
@@ -390,8 +390,13 @@ GetVersionInformationFromInfFile(
|
||||
DriverVer, RequiredSize,
|
||||
&RequiredSize);
|
||||
}
|
||||
if (!Result)
|
||||
goto cleanup;
|
||||
else
|
||||
{
|
||||
/* windows sets default date of 00/00/0000 when this directive is missing*/
|
||||
memset(DriverDate, 0, sizeof(FILETIME));
|
||||
*DriverVersion = 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* Get driver date and driver version, by analyzing the "DriverVer" value */
|
||||
pComma = strchrW(DriverVer, ',');
|
||||
|
||||
Reference in New Issue
Block a user