3.13.1 Abstract Data Model

An ITypeLib2 server MUST implement the data model of an ITypeLib server, as specified in 3.11.

An ITypeLib2 server MUST maintain a collection of the custom data items that were declared with the library keyword in the IDL, as specified in section 2.2.49.2. For each custom data item, the server MUST maintain the following mapping:

  • The mapping between the GUID and the value of the custom data item.

The data value of a custom data item MUST be a value that can be stored in a _wireVARIANT, as specified in 2.2.29.1.

The custom data item mappings maintained by an ITypeLib2 server MUST be permanent.