|
|
1.1 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 Microsoft Corporation. ! 5: * All rights reserved. ! 6: * This source code is only intended as a supplement to ! 7: * Microsoft Development Tools and/or WinHelp documentation. ! 8: * See these sources for detailed information regarding the ! 9: * Microsoft samples programs. ! 10: \******************************************************************************/ ! 11: ! 12: // Various buffer sizes ! 13: #define IN_BUF_SIZE 1000 ! 14: #define OUT_BUF_SIZE 1000 ! 15: #define PLEASE_READ 1000 ! 16: #define PLEASE_WRITE 1000 ! 17: #define LINE_LEN 80 ! 18: #define NAME_SIZE 25 ! 19: ! 20: // For the Client dialog box. ! 21: #define IDB_SEND 904 ! 22: #define IDD_EDITWRITE 905 ! 23: #define IDD_EDITREAD 906 ! 24: ! 25: // For the Init dialog box. ! 26: #define IDD_SVREDIT 701 ! 27: #define IDB_INITOK 705 ! 28: #define IDD_CLNTEDIT 704 ! 29: ! 30: ! 31: #define WM_APP 0x8000 ! 32: #define WM_INITCLIENT WM_APP ! 33: #define WM_GO_AWAY WM_APP+1 ! 34: ! 35: ! 36: LONG CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM); ! 37: LONG CALLBACK ClientDlgProc (HWND, UINT, WPARAM, LPARAM); ! 38: LONG CALLBACK InitDlgProc (HWND, UINT, WPARAM, LPARAM); ! 39: VOID ReadPipe (HANDLE *);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.