Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Each per-Models DDInstall.Filters section contains one or more INF AddFilter directives that reference additional INF-writer-defined sections in a device driver INF file. Cette section est prise en charge dans Windows 10 version 1903 et ultérieure.
[install-section-name.Filters] |
[install-section-name.nt.Filters] |
[install-section-name.ntx86.Filters] |
[install-section-name.ntia64.Filters] |
[install-section-name.ntamd64.Filters] |
[install-section-name.ntarm.Filters] |
[install-section-name.ntarm64.Filters]
AddFilter=FilterName,[flags],filter-install-section
You can provide a DDInstall.Filters section with at least one AddFilter directive to add a filter to a device stack.
Entries
AddFilter=FilterName,[flags],filter-install-section
The specified FilterName must be the name of a driver service. Ce service sera ajouté à la pile d’appareils à l’aide du modèle de filtre déclaratif, qui ne repose pas sur les valeurs de Registre UpperFilters ou LowerFilters.
This directive references an INF-writer-defined filter-install-section elsewhere in the device driver INF file. Pour plus d’informations, consultez la directive AddFilter INF.
Remarks
DDInstall.Filter sections should have the same platform and operating system decorations as their related DDInstall sections. For example, an install-section-name.ntx86 section would have a corresponding install-section-name.ntx86.Filters section.
The specified DDInstall section must be referenced in a device/models-specific entry under the per-manufacturer Models section of the INF file. The case-insensitive extensions to the install-section-name shown in the formal syntax statement can be inserted into such a DDInstall.Filters section name in cross-platform INF files.
For more information about how to use the system-defined .nt, .ntx86, .ntia64, .ntamd64, .ntarm, and .ntarm64 extensions, see Creating INF Files for Multiple Platforms and Operating Systems.
Example
[Contoso.NT.Filters]
AddFilter = MyUpperFilter,, UpperFilter_Inst
[UpperFilter_Inst]
FilterPosition = Upper
[Contoso.NT.Services]
AddService = MyUpperFilter,, MyUpperFilter_Inst
[MyUpperFilter_Inst]
...