midl /client { stub | none }
midl /client none filename.idl
midl /client stub filename.idl
The /client switch directs the MIDL compiler to generate client-side C source files for an RPC interface. When the /client switch is not specified, the MIDL compiler generates the client stub file. This switch does not affect OLE interfaces.
The /client switch takes precedence over the /cstub switch.
/cstub, /server, General MIDL Command-line Syntax