3.5.4.1.2.1 Types Returned with ITypeLib Members

The ITypeInfo server returned with a member of an automation type library MUST be specified by the kind of element whose name was matched.

  • MUST be the ITypeInfo server instance that represents an enumeration, if the matched element was a member of the enumeration's data member table.

  • MUST be the ITypeInfo server instance that represents the module declared with the automation type library, if the matched element was a member of the module's method or data member tables.

  • MUST be the ITypeInfo server instance that represents the coclass, if the matched element was an appobject coclass with a default nonsource interface or a member of its default nonsource interface.

  • MUST be NULL, if the matched element was an enumeration or the module declared with the automation type library.