TypeLib Table

[This is preliminary documentation and subject to change.]

The TypeLib table contains the information that needs to be placed in the registry for the advertisement and registration of type libraries.

The TypeLib table has the following columns.

Column Type Key Nullable
LibID GUID Y N
Language Integer Y N
Version Integer Y
Description Text Y
Directory_ Identifier Y
Feature_ Identifier N
Component_ Identifier N
Cost DoubleInteger Y

Columns

LibID
The GUID that identifies the library.
Language
The language of the type library.

Non-negative numbers only.

Version
The version of the library.

The major and minor versions are encoded in the two-byte integer with the minor version in the lower eight bits and the major version in the upper eight bits.

Description
Description of the library.
Directory_
External key into the Directory table that identifies the Help path for the type library. This column is ignored during advertising.

External key to column one of the Directory table.

Feature_
External key into the Feature table specifying the feature to be advertised or installed for the type library to be operational.

External key to column one of the Feature table.

Component_
External key into the Component table identifying the component belonging to Feature_ whose key file is the type library being advertised/ registered.

External key to column one of the Component table.

Cost
The cost associated with the registration of the type library. This column is optional.

Non-negative numbers only.

Remarks

This table is referred to when the RegisterTypeLibraries action or the UnregisterTypeLibraries action is executed.