/client switch
The /client switch directs the MIDL compiler to generate client-side C source files for an RPC interface.
midl /client { stub | none }
Switch Options
-
stub
-
Generates the client-side files.
-
none
-
Does not generate any client-side files.
Remarks
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.
Examples
midl /client none filename.idl
midl /client stub filename.idl
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for