mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[SETUPAPI] Set the CONFIGFLAG_FAILEDINSTALL flag in SetupDiInstallDevice
The code follows the comment now. The fix may be wrong, but DNF_DISABLED is a kernel flag and should definitely not be used in a dll.
This commit is contained in:
parent
942f2e43c1
commit
e468da06be
1 changed files with 2 additions and 2 deletions
|
@ -3410,7 +3410,7 @@ BOOL WINAPI IntSetupDiSetDeviceRegistryPropertyAW(
|
|||
hKey, PropertyMap[Property].nameA, 0,
|
||||
PropertyMap[Property].regType, PropertyBuffer,
|
||||
PropertyBufferSize);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
l = RegSetValueExW(
|
||||
|
@ -5435,7 +5435,7 @@ SetupDiInstallDevice(
|
|||
SetLastError(ERROR_GEN_FAILURE);
|
||||
goto cleanup;
|
||||
}
|
||||
ConfigFlags |= DNF_DISABLED;
|
||||
ConfigFlags |= CONFIGFLAG_FAILEDINSTALL;
|
||||
Result = SetupDiSetDeviceRegistryPropertyW(
|
||||
DeviceInfoSet,
|
||||
DeviceInfoData,
|
||||
|
|
Loading…
Reference in a new issue