include

include filenames;

filenames
Specifies the name of one or more C-language header files. Use the full file name, including the .H extension and enclose each file name in quotation marks. Separate multiple C-language header filenames with commas.

Examples

include "local.h";
include "gendefs.h", "protos.h", "foo.h"; 

Remarks

The ACF include statement specifies one or more header files to be included in the generated stub code. The stub code will contain a C-preprocessor #include statement. You supply the C-language header file when compiling the stubs. Include statements rely on the C-compiler mechanism of searching the directory structure for included files.

Note  Use the import directive rather than the include directive for system files, such as WINDOWS.H, that contain data types you want to make available to the IDL file. The import directive ignores function prototypes and allows you to use MIDL compiler switches that optimize the generation of support routines.

See Also

ACF, Importing Files and Type Libraries, Importing System Header Files