Click to Rate and Give Feedback
MSDN
MSDN Library
COM
MIDL and RPC
 The Server Stub
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: 9/10/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker