title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
/client switch |
The /client switch directs the MIDL compiler to generate client-side C source files for an RPC interface. |
bce5af72-2201-4b42-9348-cb97f08b7fdf |
|
|
|
|
reference |
05/31/2018 |
The /client switch directs the MIDL compiler to generate client-side C source files for an RPC interface.
midl /client { stub | none }
-
stub
-
Generates the client-side files.
-
none
-
Does not generate any client-side files.
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.
midl /client none filename.idl
midl /client stub filename.idl