With the IDL and ACF files as input, the MIDL compiler generates up to five C-language source files. By default, the MIDL compiler uses the base file name of the IDL file as part of the generated stub files. When more than six characters are present in the base file name, some file systems may not accept the full stub name. The following table shows conventions used for file names.
| File | Default portion of base file name | Example |
|---|---|---|
| IDL file | --- | Abcdefgh.idl |
| Header | .h | Abcdef.h |
| Client stub | _c.c | Abcdef_c.c |
| Server stub | _s.c | Abcdef_s.c |
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.
