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

1.1.1.2   root        1: #ifdef WIN16
1.1.1.3 ! root        2: #define APIENTRY         FAR PASCAL
1.1       root        3: #define UNREFERENCED_PARAMETER
                      4: #endif
                      5: 
1.1.1.3 ! root        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 IDM_BIND          600
        !            12: 
        !            13: #define IDD_SERVERNAME    201
        !            14: #define IDD_ENDPOINTNAME  401
        !            15: #define IDD_MESSAGE       501
        !            16: 
        !            17: #define CNLEN              15    /* computer name length */
        !            18: #define UNCLEN        CNLEN+2    /* \\computername       */
        !            19: #define PATHLEN           260    /* Path                 */
        !            20: #define MSGLEN            300    /* arbitrary large number for message size */
        !            21: #define MAXPROTSEQ         20    /* protocol sequence "ncacn_np" */       
        !            22: 
        !            23: #define DEFAULT_ENDPOINT    "\\pipe\\whello"                    
        !            24: #define DEFAULT_PROT_SEQ    "ncacn_np"                         
        !            25: #define DEFAULT_MESSAGE     "hello, world"
1.1       root       26: 
                     27: #define EXCEPT_MSG "The remote procedure call failed. \
                     28: Please make sure the server application is running and \
                     29: that the server name and endpoint name are correct."
                     30: 
1.1.1.3 ! root       31: 
        !            32: int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
1.1       root       33: BOOL InitApplication(HANDLE);
                     34: BOOL InitInstance(HANDLE, int);
                     35: 
1.1.1.3 ! root       36: LONG APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
1.1       root       37: BOOL APIENTRY About(HWND, UINT, UINT, LONG);
                     38: BOOL APIENTRY Server(HWND, UINT, UINT, LONG);
                     39: BOOL APIENTRY Endpoint(HWND, UINT, UINT, LONG);
                     40: BOOL APIENTRY Send(HWND, UINT, UINT, LONG);
                     41: 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.