Important
设备元数据已弃用,并将在 Windows 的将来版本中删除。 有关替代功能的信息,请参阅驱动程序包容器元数据。
本文档包含的数据用于指定操作系统为设备元数据包的指定设备执行的显示操作。 这些操作包括以下各项:
Whether the device icon is displayed when the device is in a disconnected state, such as when the user removes the device. This action is specified by the ShowDeviceInDisconnectedState XML element within the WindowsInfo XML document.
当设备从断开连接状态过渡到连接状态(例如用户插入设备时)时,设备阶段用户界面是否显示。 This action is specified by the LaunchDeviceStageOnDeviceConnect XML element within the WindowsInfo XML document.
Whether a Device Stage user interface is started when the user double-clicks the device icon that appears in either the Devices and Printers user interface or in Windows Explorer. This action is specified by the LaunchDeviceStageFromExplorer XML element within the WindowsInfo XML document.
每个设备元数据包必须仅包含一个 WindowsInfo XML 文档。 The name of the document must be WindowsInfo.xml.
WindowsInfo XML 文档中的数据基于 WindowsInfo XML 架构进行格式化。