PHP. Руководство по PHP. 2005
com_load_typelib
com_load_typelib
Description
bool com_load_typelib (string typelib_name [, bool case_insensitive])Loads a type-library and registers its constants in the engine, as though they were defined using define(). The case_insensitive behaves in the same way as the parameter with the same name in the define() function.
typelib_name can be one of the following:
The filename of a .tlb file or the executable module that contains the type library.
Note that it is much more efficient to use the - com.typelib_file configuration setting to pre-load and register the constants, although not so flexible.
If you have turned on - com.autoregister_typelib, then PHP will attempt to automatically register the constants associated with a COM object when you instantiate it. This depends on the interfaces provided by the COM object itself, and may not always be possible.
com_isenum
com_load