Skip to content

Latest commit

 

History

History
89 lines (51 loc) · 1.4 KB

-server.md

File metadata and controls

89 lines (51 loc) · 1.4 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date
/server switch
The /server switch directs the MIDL compiler to generate server-side C source files for an RPC interface.
c5ca6a47-e8b0-4a13-ba73-2d35a9ac8240
/server switch MIDL
apiref
/server
NA
reference
05/31/2018

/server switch

The /server switch directs the MIDL compiler to generate server-side C source files for an RPC interface.

midl /server { stub | none }

Switch Options

stub

Generates the server-side files.

none

Does not generate server-side files.

Remarks

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.

Examples

midl /server none

midl /server stub

See also

General MIDL Command-line Syntax

/client

/sstub