com4:InProcessHandler
向一或多個類別註冊註冊同進程處理常式。
元素階層
<com4:InProcessHandler>
Syntax
<com4:InProcessHandler
Path = 'An optional 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".' >
<!-- Child elements -->
Class
InProcessHandlerDll
ClassReference
</com4:InProcessHandler>
屬性和元素
屬性
屬性 | 描述 | 資料類型 | 必要 | 預設值 |
---|---|---|---|---|
路徑 | 進程內處理常式 DLL 的完整路徑。 | 長度介於 1 到 256 個字元之間的選擇性字串,不能包含下列字元: < 、、 > 、 " : 、 | 、 ? 或 * ,以不區分大小寫的副檔名 .dll 結尾。 |
No |
子元素
子項目 | Description |
---|---|
類別 | 定義進程內處理常式類別註冊。 |
InProcessHandlerDll | 指定進程內處理常式 DLL 的路徑和處理器架構。 |
ClassReference | 指定與已註冊同進程處理常式相關聯的類別,並設定註冊詳細資料。 |
父元素
父元素 | 描述 |
---|---|
延伸模組 | 定義應用程式的一或多個擴充點。 |
備註
下列範例示範如何註冊 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>
規格需求
Item | 值 |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
OS 最低版本 | Windows 10 (組建 20348) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應