Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

/h switch

The /h option is functionally equivalent to the /header option.

midl /h filename

Switch Options


Specifies a header file name that overrides the default header file name. File names can be explicitly quoted using double quotes (") to prevent the shell from interpreting special characters.


The /h switch specifies filename as the name for a header file that contains all the definitions contained in the IDL file, without the IDL syntax. This file can be used as a C or C++ header file.


midl /h tlibhead.h filename.idl

midl /h "midl.h" filename.idl

See also

General MIDL Command-line Syntax



Community Additions

© 2015 Microsoft