Annotation of mstools/samples/rpc/whello/whelloc.h, revision 1.1

1.1     ! root        1: #ifdef WIN
        !             2: #define APIENTRY PASCAL
        !             3: #define UNREFERENCED_PARAMETER
        !             4: #endif
        !             5: 
        !             6: #define IDM_ABOUT 100
        !             7: #define IDM_SERVER 200
        !             8: #define IDM_EXIT   300
        !             9: #define IDM_ENDPOINT 400
        !            10: #define IDM_SEND   500
        !            11: #define IDD_SERVERNAME 201
        !            12: #define IDD_ENDPOINTNAME 401
        !            13: #define IDD_MESSAGE 501
        !            14: 
        !            15: #define CNLEN  15      /* computer name length */
        !            16: #define UNCLEN CNLEN+2 /* \\computername */
        !            17: #define PATHLEN 260    /* Path */
        !            18: #define MSGLEN 300     /* arbitrary large number for message size */
        !            19: 
        !            20: #define DEFAULT_SERVER NULL
        !            21: #define DEFAULT_ENDPOINT "\\pipe\\whello"
        !            22: #define DEFAULT_MESSAGE        "hello, world"
        !            23: 
        !            24: #define EXCEPT_MSG "The remote procedure call failed. \
        !            25: Please make sure the server application is running and \
        !            26: that the server name and endpoint name are correct."
        !            27: 
        !            28: int APIENTRY WinMain(HANDLE, HANDLE, LPSTR, int);
        !            29: BOOL InitApplication(HANDLE);
        !            30: BOOL InitInstance(HANDLE, int);
        !            31: 
        !            32: LONG FAR APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
        !            33: BOOL APIENTRY About(HWND, UINT, UINT, LONG);
        !            34: BOOL APIENTRY Server(HWND, UINT, UINT, LONG);
        !            35: BOOL APIENTRY Endpoint(HWND, UINT, UINT, LONG);
        !            36: BOOL APIENTRY Send(HWND, UINT, UINT, LONG);
        !            37: RPC_STATUS Bind(HWND);

unix.superglobalmegacorp.com

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