Düzenle

Aracılığıyla paylaş


The Interface UUID File

The interface UUID file collects the definitions of the interface identifiers from all interfaces in the processed IDL file. Similar to the stub file and the header file, the input stream closure is defined by the current IDL file and the included files. For example, for Interface IFace, the compiler generates a constant IID_IFace and initializes it to the interface's UUID specified in the IDL file. Client applications and the proxy DLL use this constant to identify the interface.

The default name for an interface IID file generated from a file.idl is File_i.c. The /iid MIDL compiler switch overrides the default name of the interface UUID file.