Edit

com:ProxyStub

Registers a proxy stub.

Element hierarchy

<Package>
   └─ <Extensions>
      └─ <com:Extension>
         └─ <com:ComInterface>
            └─ <com:ProxyStub>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <com:Extension>
               └─ <com:ComInterface>
                  └─ <com:ProxyStub>

Syntax

<com:ProxyStub
  Path = 'An optional string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  Id = 'A required GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
  DisplayName = 'An optional string between 1 and 256 characters in length. This string is localizable.' >

  <!-- Child elements -->
  com:ProxyStubDll{0,4}

</com:ProxyStub>

Key

{} specific range of occurrences

Attributes

Attribute Description Data type Required Default value
Path The path relative to the package root. Path must reference a file in the package. An optional string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. No
Id The proxy stub's CLSID. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Yes
DisplayName A localizable string corresponding to the default value of the proxy stub's CLSID key. An optional string between 1 and 256 characters in length. This string is localizable. No

Child elements

Child element Description
com2:ProxyStubDll Specifies the path and processor architecture of a ProxyStub DLL.

Parent elements

Parent element Description
com:ComInterface Declares a package extension point of type windows.comInterface. The comInterface extension may include three types of registrations: Interface, ProxyStub, or TypeLib.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 version 1703 (Build 15063)

Remarks

Proxy stub registrations correspond to the CLSID registration for the Interface's ProxyStubClsid32 keys.

A proxy stub element must have either a Path attribute or one or more ProxyStubDll child elements, but not both.

Examples