Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.12 KB

interface-definition-idl-file.md

File metadata and controls

19 lines (14 loc) · 1.12 KB
title description ms.assetid keywords ms.topic ms.date
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.
4df87df8-3206-4845-b5ab-d77ea443b9e3
interfaces MIDL , IDL file
article
05/31/2018

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.