Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
The Header File
Collapse the table of content
Expand the table of content

The Header File

The header file contains definitions of all data types and operations declared in the IDL file, as well as all data types and operations declared in the files included with the #include directive. Data types from the files imported with the import directive are not replicated to the header file; instead the generated header file contains an include line to the H file generated from the imported file. The header file must be included by all application modules that call the defined operations, implement the defined operations, or manipulate the defined types.

The MIDL compiler switches /header and /out affect the header file.



Community Additions

© 2015 Microsoft