include
include filenames;
filenames
Specifies the
name of one or more C-language header files. The .H extension must be supplied
in the MS-DOS, 16-bit Windows, and 32-bit Windows environments. Separate
multiple C-language header filenames with commas.
Remarks
The body of
the ACF can contain include directives, ACF typedef attributes,
and ACF function and parameter attributes.
The ACF include
statement specifies one or more header files included in the generated stub
code. The stub code contains a C-preprocessor #include statement, and
the user supplies 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