Annotation of pmsdk/samples/browse/viobrows.h, revision 1.1

1.1     ! root        1: /* -----------------------------------------------------------------*\
        !             2: /*     VIO File Browser Demo Headers
        !             3: /*     Version 1.0
        !             4: /*     Created by Microsoft Corp. 1988
        !             5: /* -----------------------------------------------------------------*/
        !             6: 
        !             7: #define WINDOW 0
        !             8: 
        !             9: /* ------------------------------------ */
        !            10: /* forward declarations                */
        !            11: /* ------------------------------------ */
        !            12: 
        !            13: /* -- top-level */
        !            14: void cdecl main( int, char *[] );
        !            15: SHORT Initialize( int, char *[]);
        !            16: SHORT ReadFile( void );
        !            17: void ManipulateFile( void );
        !            18: 
        !            19: /* -- line-level    */
        !            20: SHORT StoreLine( char * );
        !            21: SHORT RetrieveLine( char ** , USHORT );
        !            22: 
        !            23: /* -- screen   */
        !            24: void DisplayScreen( USHORT TopLine, BOOL force);
        !            25: void ClearScreen( void );
        !            26: void VidRefresh ( USHORT LineFrom, USHORT NumLines, USHORT VidRowStart);
        !            27: void ScrollDown(int Nlines);
        !            28: void ScrollUp(int Nlines);
        !            29: VOID ExecuteAction( CHAR ch);
        !            30: 
        !            31: /* -- user input */
        !            32: VOID UserLoop( VOID );
        !            33: UCHAR GetScanCode( void );
        !            34: CHAR GetKbdInput( void );
        !            35: 
        !            36: /* ------------------------------------ */
        !            37: /* constant definitions                */
        !            38: /* ------------------------------------ */
        !            39: #define NUM_DATA_LINES 4096
        !            40: #define HIGHEST_HSCROLL 128
        !            41: #define HSCROLL_PAGESIZE 8
        !            42: /* -- action codes                 */
        !            43: /* -- not all are implemented yet   */
        !            44: #define EXIT 10
        !            45: #define LINE_UP 11
        !            46: #define LINE_DOWN 12
        !            47: #define PAGE_UP 13
        !            48: #define PAGE_DOWN 14
        !            49: #define CHAR_RIGHT 15
        !            50: #define CHAR_LEFT 16
        !            51: #define PAGE_RIGHT 17
        !            52: #define PAGE_LEFT 18
        !            53: #define GOTO_TOP 19
        !            54: #define GOTO_BOTTOM 20
        !            55: #define GOTO_LINE 21
        !            56: #define GOTO_HSCROLL 22
        !            57: 
        !            58: #define MAX_START_LINE (HighestLine-Vid_Rows+1)

unix.superglobalmegacorp.com

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