Previous Next

Overview - A Sample Application

This topic presents the complete code for a generic sample application that illustrates the recommended policies. The code is as generic as possible in the sense that it demonstrates things that most servers need to do. This generic server code is contained in the sample_server.c and sample_server.h modules. The application-specific portion consists of a set of simple examples to illustrate various styles of RPC data usage, including pointers, pipes, and context handles. These illustrations are contained in sample_manager.c (the server side) and sample_client.c (the client side). sample.idl contains a set of sample interface definitions for the illustrated usages.