Value (microsoft-windows-tabletpc-platform-input-core-associationdata-associationelement-value)

Value 会指定将 Tablet PC 监视器关联到数字化器的信息。

此设置需要的字符串值为:DigitizerPattern、AdapterPattern 和 MonitorPattern。 有关查找设备字符串或设备 ID 值的信息,请参阅 MSDN 文章:DISPLAY_DEVICEEnumDisplayDevices

注意这些模式的一些部分可能会更改,具体取决于安装顺序。 为获得最佳结果,请仅使用设备独有的字符串部分。

如果出现以下情况,则在数字化器和监视器之间建立关联:

DigitizerPattern 就只匹配一个数字化器。

AdapterPattern 和 MonitorPattern 的组合刚好与一个监视器匹配。

"DigitizerPattern"="AdapterPattern|MonitorPattern"

指定用于将 Tablet PC 监视器与数字化器进行关联的信息。

DigitizerPattern 是匹配数字化器设备实例路径的子字符串。

AdapterPattern 是与 DISPLAY_DEVICE 中 DeviceString 或 DeviceID 字段的唯一模式匹配的子字符串。

MonitorPattern 是与 DISPLAY_DEVICE 中 DeviceString 或 DeviceID 字段的唯一模式匹配的子字符串。

无需完全匹配这些字符串值。 可以仅提供设备独有的字符串部分。

该字符串类型不支持空元素。 请勿为该设置创建空值。

有效配置阶段

offlineServicing

父层次结构

Microsoft-Windows-TabletPC-Platform-Input-Core| AssociationData| AssociationElement | Value

应用于

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-TabletPC-Platform-Input-Core

XML 示例

以下 XML 输出显示如何配置 AssociationData 设置,以将 Tablet PC 显示器与同一系统中的三个数字化器相关联。

对于本例中的 Tablet PC 显示器,DeviceString 为“MONITOR\FAB1234B\{12ab34cd56-ef76-ab54-3210fe}”,DeviceID 字段为“Generic PnP Monitor”。 示例中为 Monitor_pattern 选择了子字符串 FAB1234B,但另外也可以选择唯一子字符串。

注意在 Windows 系统映像管理器中,你可以输入带引号的值。 在 XML 中,引号替换为 "

<AssociationData>
   <AssociationElement wcm:action="add" wcm:keyValue="Monitor1">&quot;hid#VID_1B96&amp;PID_0008&amp;REV_2100&amp;mi_01&amp;col01&quot;=&quot;PCI\\VEN_8086&amp;DEV_4102&amp;SUBSYS_16B510CF|FUJ5812&quot;</AssociationElement>
   <AssociationElement wcm:action="add" wcm:keyValue="Monitor2">&quot;hid#VID_1B96&amp;PID_0008&amp;REV_2100&amp;mi_01&amp;col02&quot;=&quot;PCI\\VEN_8086&amp;DEV_4102&amp;SUBSYS_16B510CF|FUJ5812&quot;</AssociationElement>
</AssociationData>
   <AssociationElement wcm:action="add" wcm:keyValue="Monitor3">&quot;hid#VID_1B96&amp;PID_0008&amp;REV_2100&amp;mi_01&amp;col03&quot;=&quot;PCI\\VEN_8086&amp;DEV_4102&amp;SUBSYS_16B510CF|FUJ5812&quot;</AssociationElement>
</AssociationData>

AssociationElement