/server switch
The /server switch directs the MIDL compiler to generate server-side C source files for an RPC interface.
midl /server { stub | none }
-
stub
-
Generates the server-side files.
-
none
-
Does not generate server-side files.
When the /server switch is not specified, the MIDL compiler generates the server stub file. This switch does not affect OLE interfaces.
The none option causes no files to be generated.
The /server switch takes precedence over the /sstub switch.
midl /server none
midl /server stub