大网数据广告活动
安装更新与部署

Creating a Merge Module that Can Be Configured by the End-User

· 52CE 我爱测

To create merge modules, use the general guidelines that are described in the Authoring Merge Modules topic.

To create merge modules, use the general guidelines that are described in the Authoring Merge Modules topic. In addition, you must do the following to create a merge module that may be configured by the end-user of the module:

  • End-users need to have Mergemod.dll version 2.0 to configure your module. Users who have earlier versions of Mergemod.dll can apply the module, but they always get the default settings.
  • Add a ModuleConfiguration Table to the merge module to identify the items that may be configured by an end-user. Add a record in this table for each configurable item. These items are substituted into the templates that are specified in the ModuleSubstitution Table. Enter a name for each configurable item into the Name field. Enter the format, type, and semantic context for each item in the Format, Type, and ContextData columns. For more information, see Semantic Types. Enter a default value for the item in the DefaultValue field using the CMSM Special Format.
  • Add a ModuleSubstitution Table to the merge module. Each record in this table corresponds to a substitution of one or more configurable items into one field of the merge module database. Enter the table, row, and column of the field that receives the substitution. Enter a formatting template for the substitution into the Value column using the CMSM Special Format.
  • Add records to the Validation Table for the ModuleSubstitution and ModuleConfiguration tables.
  • Add records to the ModuleIgnoreTable Table for the ModuleSubstitution Table and the ModuleConfiguration Table. This ensures that the module is compatible for users who have versions of Mergemod.dll that are earlier than version 2.0.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。