mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Fix wrong test when checking arguments in SetupDiGetDriverInfoDetailW.
It was at least preventing install of display drivers svn path=/trunk/; revision=19146
This commit is contained in:
parent
92d8d2d3d7
commit
bb47741504
1 changed files with 1 additions and 1 deletions
|
@ -5374,7 +5374,7 @@ SetupDiGetDriverInfoDetailW(
|
|||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
else if (DriverInfoDetailData && DriverInfoDetailData->cbSize != sizeof(SP_DRVINFO_DETAIL_DATA_W))
|
||||
SetLastError(ERROR_INVALID_USER_BUFFER);
|
||||
else if (DriverInfoDetailData && DriverInfoDetailData->Reserved == 0)
|
||||
else if (DriverInfoData->Reserved == 0)
|
||||
SetLastError(ERROR_NO_DRIVER_SELECTED);
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue