Compartir a través de


3.7.3 Initialization

The server MUST initialize its name, TYPEKIND, automation type library reference, and ITypeComp server reference, and specify the size of an instance of the type in bytes. These values MUST NOT change over the server's lifetime.

The server MUST initialize the representation of the IDL attributes declared with the type and its implementation-specific documentation values. The attribute representation and documentation values MUST NOT change over the server's lifetime.

The server MUST initialize the following elements according to its TYPEKIND value, as specified in the first paragraph of this section:

  • Data member table

  • Method tables (including parameter tables)

  • Interface table

  • Partner interface reference or partner dispinterface reference

  • Alias type reference

These tables and references MUST NOT change over the server's lifetime.