[NEWDEV] Set the CM_PROB_FAILED_INSTALL problem code on failed install

CORE-17527
This commit is contained in:
Eric Kohl 2021-04-20 22:00:41 +02:00
parent 1ff3d1c395
commit 32428a39ed

View file

@ -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;