Type Library Access
Type libraries expose the interfaces of an OLE control to other OLE-aware applications. Each OLE control must have a type library if one or more interfaces are to be exposed.
The following macros allow an OLE control to provide access to its own type library:
Declares a GetTypeLib member function of an OLE control (must be used in the class declaration).
Implements a GetTypeLib member function of an OLE control (must be used in the class implementation).