a COM interface is defined using a language called Interface Definition Language (IDL). The IDL file is processed by an IDL compiler, which generates a C++ header file.我们使用一个接口定义语言(Interface Definition Language)定义一个COM接口。IDL编译器处理这个IDL文件,产生一个C++头文件。