com:Interface

Description

Registers new COM Interfaces.

Element Hierarchy

<Package>
<Extensions>
<Extension>
<ComInterface>
<Interface>

Syntax

<Interface
    Id = An alphanumeric string separated by a period between 1 and 255 characters in length, e.g. Foo.Bar or Foo.Bar.1
    UseUniversalMarshaler? = Boolean.
    ProxyStubClsid? = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
    SynchronousInterface? = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
    AsynchronousInterface? = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. >

  <!-- Child elements -->
  TypeLib?  
</Interface>

Key

? optional (zero or one)

Attributes

Attribute Description Data type Required
Id An interface Id (IID). An alphanumeric string separated by a period between 1 and 255 characters in length, e.g. Foo.Bar or Foo.Bar.1 Yes
UseUniversalMarshaler Set this to true to use the OLE Universal Marshaler as the proxy stub. Boolean. No
ProxyStubClsid Corresponds to the ProxyStubClsid32 registry value. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. No
SynchronousInterface The Id of another interface registration containing AsynchronousInterface that references this registration. The other interface must be in the same comInterface registration. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. No
AsynchronousInterface The Id of another interface registration containing SynchronousInterface that references this registration. The other interface must be in the same comInterface registration. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. No

Child Elements

Child Element Description
TypeLib A type library for an interface.

Remarks

Examples

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/com/windows10