Skip to main content

Com Interface

Describes a package extension point of type windows.comInterface. The comInterface extension may include the following three types of registrations:

Proxy Stub

Interface

Type Lib

Proxy Stub

Register a proxy stub using the following attributes:

AttributesDescription
IDThe proxy stub's CLSID.
Display NameA localizable string corresponding to the default value of the proxy stub's CLSID key.
PathThe path relative to the package root. Path must reference a file in the package.
Proxy Stub Dll PathA relative path to the .dll file in the app package.
Process ArchitectureThe processor architecture of the Proxy Stub registration.

Interface

Register an interface using the following attributes:

AttributesDescription
IDAn interface Id (IID).
Use Universal MarshellerSet this to true to use the OLE Universal Marshaler as the proxy stub.
Proxy Stub CLSIDCorresponds to the Proxy Stub CLSID registry value.
Synchronous interfaceThe Id of another interface registration containing AsynchronousInterface that references this registration. The other interface must be in the same comInterface registration.
Asynchronous interfaceThe Id of another interface registration containing SynchronousInterface that references this registration. The other interface must be in the same comInterface registration.
Type Lib IDThe type library ID.
Type Lib Version NumberThe version of the type library.

Type Lib

Register a type lib using the following attributes:

AttributesDescription
IDThe ID of the type library.