Export (0) Print
Expand All
19 out of 32 rated this helpful - Rate this topic

Interface Definition (IDL) File

By convention, the file that contains interface and type library definitions is called an IDL file, and has an .idl file name extension. In reality, the MIDL compiler will parse an interface definition file regardless of its extension. An interface is identified by the keyword interface.

Each interface consists of a header and a body. The interface header contains attributes that apply to the entire interface. The body of the interface contains the remaining interface definitions. For an overview of interfaces and IDL files, see The Interface Definition Language (IDL) File. For a summary of attributes that can be used in an interface header, see IDL Attributes.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.