mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:31:40 +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,
|
||||
&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, ',');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue