Annotation of mstools/samples/npserver/server32.h, revision 1.1

1.1     ! root        1: #define MAX_PIPE_INSTANCES 100
        !             2: 
        !             3: #define LINE_LEN   80
        !             4: #define NAME_SIZE  25
        !             5: 
        !             6: // Bitmaps and coordinates.
        !             7: #define END_LIVE   1
        !             8: #define END_DEAD   2
        !             9: #define MID_LIVE   3
        !            10: #define MID_DEAD   4
        !            11: #define BITMAP_X   20
        !            12: #define BITMAP_Y   32
        !            13: #define NAME_X     60
        !            14: #define NAME_Y     10
        !            15: 
        !            16: // Buffers and pipe symbolic constants.
        !            17: #define IN_BUF_SIZE        1000
        !            18: #define OUT_BUF_SIZE       1000
        !            19: #define TIME_OUT           0
        !            20: #define PLEASE_READ        1000
        !            21: #define PLEASE_WRITE       1000
        !            22: 
        !            23: // Structure used to hold information about a pipe client.
        !            24: // They're used as array elements.
        !            25: typedef struct { HANDLE     hPipe;
        !            26:                  HANDLE     hEvent;
        !            27:                  OVERLAPPED overLap;
        !            28:                  BOOL       live;
        !            29:                  CHAR Name[NAME_SIZE];
        !            30:                } WRTHANDLE;
        !            31: 
        !            32: 
        !            33: LONG CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM);
        !            34: VOID          ServerProc (HWND *);
        !            35: VOID          TellAll    (CHAR *);
        !            36: VOID          DrawBranch(HDC);

unix.superglobalmegacorp.com

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