com4:InProcessHandlerDll
Specifies the path and processor architecture of an in-process handler DLL.
Element hierarchy
<com4:InProcessHandlerDll>
<com4:InProcessHandlerDll>
Syntax
<com4:InProcessHandlerDll
Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *, ending with the case-insensitive file extension ".dll".'
ProcessorArchitecture = 'A string that can be one of the following values: "x86", "x64", "arm", "arm64", or "x86a64".' />
Attributes and elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Path | The full path to the in-process handler DLL. | A string with a value between 1 and 256 characters in length that cannot contain these characters: < , > , : , " , | , ? , or * , ending with the case-insensitive file extension .dll . |
Yes | |
ProcessorArchitecture | The processor architecture of the in-process handler DLL. | A string that can be one of the following values: x86 , x64 , arm , arm64, or x86a64. | Yes |
Child elements
None.
Parent elements
Parent element | Description |
---|---|
Extensions | Defines one or more extensibility points for the app. |
Examples
The following example shows how to register a class and an in-process handler dll for x86 and x64 architectures.
<com4:InProcessHandler>
<com4:InProcessHandlerDll Path="x86\MyHandler.dll" ProcessorArchitecture="x86"/>
<com4:InProcessHandlerDll Path="amd64\MyHandler.dll" ProcessorArchitecture="x64"/>
<com4:Class Id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" DisplayName="CLSID_Bar" ThreadingModel="Both"/>
</com4:InProcessHandler>
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
Minimum OS Version | Windows 10 (Build 20348) |