Skip to content

Latest commit

 

History

History
87 lines (50 loc) · 1.39 KB

-client.md

File metadata and controls

87 lines (50 loc) · 1.39 KB
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
/client switch MIDL
apiref
/client
NA
reference
05/31/2018

/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

/cstub

/server

General MIDL Command-line Syntax