File:  [WindowsNT SDKs] / mstools / samples / rpc / hello1 / procs.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:20:01 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1991, ntsdk-dec-1991, HEAD
Microsoft Windows NT Pre-Release 11-19-1991

/****************************************************************************
                       Microsoft RPC Version 1.0 Alpha
                                October 1991
                               Hello1 Example

    FILE:      hello1\procs.c
    PURPOSE:   Contains remote procedures that are linked with the
               server side of RPC distributed application hello1
    FUNCTIONS:  HelloProc1() - prints "hello, world"
    COMMENTS:  
    This version of the distributed application that prints
    "hello, world" on the server features automatic binding.
    The client main program, client.c, does not include any code
    relating to remote procedure call. It simply calls the
    remote procedure as though it were a local procedure.

****************************************************************************/

#include <stdio.h>    // printf

void HelloProc1(void)
{
    printf("Hello, world\n");
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.