mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:12:58 +00:00
[DEVMGR]
Fix exceptions occuring because of missing parameters. svn path=/trunk/; revision=59213
This commit is contained in:
parent
d224604eef
commit
e0a991fc7e
1 changed files with 6 additions and 6 deletions
|
@ -505,7 +505,7 @@ DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LPWSTR szProblem, szInfo = NULL;
|
LPWSTR szProblem, szInfo = L"FIXME";
|
||||||
DWORD dwRet;
|
DWORD dwRet;
|
||||||
BOOL AdvFormat = FALSE;
|
BOOL AdvFormat = FALSE;
|
||||||
UINT StringIDs[] =
|
UINT StringIDs[] =
|
||||||
|
@ -521,7 +521,7 @@ DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL,
|
||||||
/* FIXME - if not a root bus devloader then use IDS_DEV_DEVLOADER_FAILED2 */
|
/* FIXME - if not a root bus devloader then use IDS_DEV_DEVLOADER_FAILED2 */
|
||||||
/* FIXME - get the type string (ie. ISAPNP, PCI or BIOS for root bus devloaders,
|
/* FIXME - get the type string (ie. ISAPNP, PCI or BIOS for root bus devloaders,
|
||||||
or FLOP, ESDI, SCSI, etc for others */
|
or FLOP, ESDI, SCSI, etc for others */
|
||||||
AdvFormat = (szInfo != NULL);
|
AdvFormat = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -538,7 +538,7 @@ DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL,
|
||||||
- use IDS_DEV_DEVLOADER_NOT_FOUND3
|
- use IDS_DEV_DEVLOADER_NOT_FOUND3
|
||||||
- AdvFormat = FALSE!
|
- AdvFormat = FALSE!
|
||||||
*/
|
*/
|
||||||
AdvFormat = (szInfo != NULL);
|
AdvFormat = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -549,12 +549,12 @@ DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL,
|
||||||
|
|
||||||
case CM_PROB_NORMAL_CONFLICT:
|
case CM_PROB_NORMAL_CONFLICT:
|
||||||
/* FIXME - get resource type (IRQ, DMA, Memory or I/O) */
|
/* FIXME - get resource type (IRQ, DMA, Memory or I/O) */
|
||||||
AdvFormat = (szInfo != NULL);
|
AdvFormat = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CM_PROB_UNKNOWN_RESOURCE:
|
case CM_PROB_UNKNOWN_RESOURCE:
|
||||||
/* FIXME - get the .inf file name */
|
/* FIXME - get the .inf file name */
|
||||||
AdvFormat = (szInfo != NULL);
|
AdvFormat = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CM_PROB_DISABLED:
|
case CM_PROB_DISABLED:
|
||||||
|
@ -563,7 +563,7 @@ DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL,
|
||||||
|
|
||||||
case CM_PROB_FAILED_ADD:
|
case CM_PROB_FAILED_ADD:
|
||||||
/* FIXME - get the name of the sub-device with the error */
|
/* FIXME - get the name of the sub-device with the error */
|
||||||
AdvFormat = (szInfo != NULL);
|
AdvFormat = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue