An interface definition is a formal specification for how a client application and a server application communicate with each other. The interface defines how the client and server recognize each other, the remote procedures that the client application can call, and the data types for those procedures' parameters and return values. It also specifies how the data is transmitted between client and server.
You define this interface in the Microsoft Interface Definition Language (MIDL) which consists of C-language definitions augmented with keywords, called attributes, which describe how the data is transmitted over the network.
The interface definition (IDL) file contains type definitions, attributes and function prototypes that describe how data is transmitted on the network. The application configuration (ACF) file contains attributes that configure your application for a particular operating environment without affecting its network characteristics.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
