https://git.reactos.org/?p=reactos.git;a=commitdiff;h=32428a39ed24d78c4dadf…
commit 32428a39ed24d78c4dadf833619f4dc796ff4523
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Tue Apr 20 22:00:41 2021 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Tue Apr 20 22:00:41 2021 +0200
[NEWDEV] Set the CM_PROB_FAILED_INSTALL problem code on failed install
CORE-17527
---
dll/win32/newdev/wizard.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dll/win32/newdev/wizard.c b/dll/win32/newdev/wizard.c
index 9cf56a74c48..9f65e1bef47 100644
--- a/dll/win32/newdev/wizard.c
+++ b/dll/win32/newdev/wizard.c
@@ -104,7 +104,10 @@ SetFailedInstall(
(PBYTE)pszUnknownGuid,
(wcslen(pszUnknownGuid) + 1) * sizeof(WCHAR));
- /* FIXME: Set device problem code 28 (CM_PROB_FAILED_INSTALL) */
+ /* Set device problem code CM_PROB_FAILED_INSTALL */
+ CM_Set_DevNode_Problem(DevInfoData->DevInst,
+ CM_PROB_FAILED_INSTALL,
+ CM_SET_DEVNODE_PROBLEM_OVERRIDE);
}
return TRUE;