|
|
1.1 root 1: /*
2: VIO File Browser Headers
3: Created by Microsoft Corporation, 1989
4: */
5:
6: /*
7: Constants
8: */
9: #define NUM_DATA_LINES 4096
10: #define MAXLINELENGTH 256
11:
12: #define ESC 1
13: #define LINE_UP 0x48
14: #define LINE_DOWN 0x50
15: #define PAGE_UP 0x49
16: #define PAGE_DOWN 0x51
17: #define HOME_KEY 0x47
18: #define END_KEY 0x4f
19:
20: #define BOTTOM (sTopLine - sRows + 1)
21:
22: /*
23: Function prototypes
24: */
25: /* Toplevel Routines */
26: int cdecl main(int, char *[]);
27: VOID ManipulateFile(VOID);
28: SHORT ReadFile(VOID);
29:
30: /* Line Manipulation Routines */
31: SHORT StoreLine(char *);
32: SHORT RetrieveLine(char **, USHORT);
33:
34: /* Screen Control Routines */
35: VOID DisplayScreen(USHORT, BOOL);
36: VOID Refresh (USHORT, USHORT, USHORT);
37:
38: /* User Input Routines */
39: CHAR GetKbdInput(VOID);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.