com4:InProcessHandler

Registers an in-process handler with one or many class registrations.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <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>

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Path The full path to the in-process handler DLL. 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. No

Child elements

Child element Description
Class Defines an in-process handler class registration.
InProcessHandlerDll Specifies the path and processor architecture of an in-process handler DLL.
ClassReference Specifies the class with which the registered in-process handler is associated and sets registration details.

Parent elements

Parent element Description
Extensions Defines one or more extensibility points for the app.

Remarks

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)