I get the following error, when plugging in a device:
PNP_DETECTED_FATAL_ERROR (ca)
PnP encountered a severe error, either as a result of a problem in a driver or
a problem in PnP itself. The first argument describes the nature of the
problem, the second argument is the address of the PDO. The other arguments
vary depending on argument 1.
Arguments:
Arg1: 00000001, Duplicate PDO
A specific instance of a driver has enumerated multiple PDOs with
identical device id and unique ids.
Arg2: 81973410, Newly reported PDO.
Arg3: 8191b6d8, PDO of which it is a duplicate.
Arg4: 00000000
It is because I get plugin/unplug ioctls and issue WdfChildListUpdateChildDescriptionAsMissing and WdfChildListAddOrUpdateChildDescriptionAsPresent in quick succession.
Is there a way for me to wait till a device is torn down before I issue the WdfChildListAddOrUpdateChildDescriptionAsPresent, a synchronous WdfChildListUpdateChildDescriptionAsMissing as it were.
Thanks,
Kevin.