scanHardware XML Element
[DIFx is deprecated, for more info, see DIFx Guidelines.]
The scanHardware XML element is an empty element that sets the scanHardware flag to ON. Setting this flag to ON configures DPInst to install a driver package for a Plug and Play (PnP) function driver only if the driver package matches a device that is configured in a computer and the driver package is a better match for the device than the driver package that is currently installed on the device.
Element Tag
<scanHardware>
XML Attributes
None
Element Information
Parent elements |
|
Child elements |
None permitted |
Data contents |
None permitted |
Duplicate child elements |
None permitted |
Remarks
By default, the scanHardware flag is set to OFF. You can set the scanHardware flag to ON by including an scanHardware XML element as a child element of a dpinst XML element in a DPInst descriptor file or by using the /sh command-line switch.
The following code example demonstrates a scanHardware element.
<dpinst>
...
<scanHardware/>
...
</dpinst>
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for