3 out of 3 rated this helpful - Rate this topic

The Server Stub

The server stub provides surrogate entry points on the server for each of the operations defined in the input IDL file.

When a server stub routine is invoked by the RPC run-time library, it performs the following functions:

  • Unmarshals input arguments (unpacks the arguments from their transmitted formats).
  • Calls the actual implementation of the procedure on the server.
  • Marshals output arguments (packages the arguments into the transmitted forms).

The MIDL compiler switches /server, /sstub, and /out affect the server stub file.

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.