File:  [OS/2 SDKs] / pmsdk / samples / browse / vbrowse / browse.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:31 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
Microsoft OS/2 SDK PM 02-24-1989

/*
    VIO File Browser Headers
    Created by Microsoft Corporation, 1989
*/

/*
    Constants
*/
#define NUM_DATA_LINES	4096
#define	MAXLINELENGTH	256

#define ESC		1
#define LINE_UP		0x48
#define LINE_DOWN	0x50
#define PAGE_UP		0x49
#define PAGE_DOWN	0x51
#define HOME_KEY	0x47
#define END_KEY		0x4f

#define BOTTOM		(sTopLine - sRows + 1)

/*
    Function prototypes
*/
/* Toplevel Routines */
int	cdecl main(int, char *[]);
VOID	ManipulateFile(VOID);
SHORT	ReadFile(VOID);

/* Line Manipulation Routines */
SHORT	StoreLine(char *);
SHORT	RetrieveLine(char **, USHORT);

/* Screen Control Routines */
VOID	DisplayScreen(USHORT, BOOL);
VOID	Refresh (USHORT, USHORT, USHORT);

/* User Input Routines */
CHAR	GetKbdInput(VOID);

unix.superglobalmegacorp.com

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