mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:32:55 +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:
parent
35da3cbf00
commit
654ebc6892
1 changed files with 7 additions and 2 deletions
|
@ -390,8 +390,13 @@ GetVersionInformationFromInfFile(
|
||||||
DriverVer, RequiredSize,
|
DriverVer, RequiredSize,
|
||||||
&RequiredSize);
|
&RequiredSize);
|
||||||
}
|
}
|
||||||
if (!Result)
|
else
|
||||||
goto cleanup;
|
{
|
||||||
|
/* 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 */
|
/* Get driver date and driver version, by analyzing the "DriverVer" value */
|
||||||
pComma = strchrW(DriverVer, ',');
|
pComma = strchrW(DriverVer, ',');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue