Modifying a Resource List

If a driver provides an EvtDeviceFilterAddResourceRequirements callback function, it must also provide an EvtDeviceRemoveAddedResources callback function. The EvtDeviceRemoveAddedResources callback function removes resources that the EvtDeviceFilterAddResourceRequirements callback function added so that the bus driver will not attempt to use them.

To modify the resource descriptors in a device's resource list, a driver should call the following methods:

If the driver removes a resource, it must remove it from both the raw and translated resource lists.