/o

midl /o outputfile <other-options> filename

outputfile
Specifies a filename for the MIDL compiler to redirect output (error messages and warnings) to.

See Also

General MIDL Command-line Syntax