Annotation of mstools/samples/console/console.h, revision 1.1

1.1     ! root        1: #define BACKGROUND_WHITE  (WORD) 0x00f0
        !             2: #define BACKGROUND_CYAN   (WORD) 0x0030
        !             3: #define FOREGROUND_YELLOW (WORD) 0x0006
        !             4: #define FOREGROUND_CYAN   (WORD) 0x0003
        !             5: #define FOREGROUND_WHITE  (WORD) 0x0007
        !             6: 
        !             7: #define PERR(bSuccess, api) {if (!(bSuccess)) perr(__FILE__, __LINE__, \
        !             8:     api, GetLastError());}
        !             9: 
        !            10: /* function prototypes */
        !            11: extern int myPuts(HANDLE hConsole, char *s);
        !            12: extern void showConAPIs(HANDLE hConsole);
        !            13: extern void putStatusLine(HANDLE hOut, char *buf);
        !            14: extern void perr(char *szFileName, int line, char *szApiName, DWORD dwError);
        !            15: extern void cls(HANDLE hConsole);
        !            16: extern char myGetchar(void);
        !            17: extern void setConTitle(char *szTitle);
        !            18: extern SHORT getConX(HANDLE hCon);
        !            19: extern SHORT getConY(HANDLE hCon);

unix.superglobalmegacorp.com

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