The functions for loading, registering, and querying type libraries are provided by Oleaut32.dll (for 32-bit systems) and Typelib.dll (for 16-bit systems).
| Category | Function name | Purpose |
|---|---|---|
| Library loading | LoadTypeLib | Loads and registers a type library. |
| LoadRegTypeLib | Uses registry information to load a type library. | |
| Library registration | RegisterTypeLib | Adds information about a type library to the system registry. |
| UnRegisterTypeLib | Removes type library information added through RegisterTypeLib to allow uninstall procedures. | |
| LoadTypeLibEx | Loads a type library and (optionally) registers it in the system registry | |
| QueryPathOfRegTypeLib | Retrieves the path of a registered type library. | |
| Type compilation | LHashValOfNameSys LHashValOfName | Computes a hash value for a name that can then be passed to ITypeComp::Bind, ITypeComp::BindType, ITypeLib::IsName, or ITypeLib::FindName. |