com4:Interface
Registers new COM Interfaces.
<com4:Interface>
<com4:Interface>
XML
<com4:Interface
Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
UseUniversalMarshaler = 'A boolean value.'
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
</com4:Interface>
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Id | An interface Id (IID). | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes | |
UseUniversalMarshaler | Set this to true to use the OLE Universal Marshaler as the proxy stub. | A boolean value. | Yes | |
ProxyStubClsid | Corresponds to the ProxyStubClsid32 registry value. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes | |
SynchronousInterface | The Id of another interface registration containing AsynchronousInterface that references this registration. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes | |
AsynchronousInterface | The Id of another interface registration containing SynchronousInterface that references this registration. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes |
Child element | Description |
---|---|
TypeLib | A type library for an interface. |
Parent element | Description |
---|---|
Extensions | Defines one or more extensibility points for the app. |
ProxyStubClsid can only be used for proxy stubs with an implementation as part of the package. To use the OLE Universal Marshaler as the proxy stub, use UseUniversalMarshaler instead.
If UseUniversalMarshaler is true, the Interface registration must include TypeLib.
Note
ProxyStubClsid and UseUniversalMarshaler are mutually exclusive.
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
Minimum OS Version | Windows 10 (Build 20348) |