com4:InProcessHandlerDll
指定進程內處理程式 DLL 的路徑和處理器架構。
元素階層
<com4:InProcessHandlerDll>
<com4:InProcessHandlerDll>
語法
<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".' />
屬性和元素
屬性
屬性 | 描述 | 數據類型 | 必填 | 預設值 |
---|---|---|---|---|
路徑 | 進程處理程式 DLL 的完整路徑。 | 長度介於 1 到 256 個字元的字串,不能包含下列字元:< 、> 、: 、" 、| 、? 或 * ,結尾為不區分大小寫的擴展名 .dll 。 |
是的 | |
ProcessorArchitecture | 進程處理程式 DLL 的處理器架構。 | 可以是下列其中一個值的字串:x86、x64、arm、arm64或 x86a64。 | 是的 |
子專案
沒有。
父元素
父元素 | 描述 |
---|---|
擴充功能 | 定義應用程式的一或多個擴充點。 |
例子
下列範例示範如何註冊 x86 和 x64 架構的類別和進程內處理程式 dll。
<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>
要求
專案 | 價值 |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
最低 OS 版本 | Windows 10 (組建 20348) |