|
|
1.1 ! root 1: /******************************************************************************\ ! 2: * ! 3: * GETPDRIV.H ! 4: * ! 5: \******************************************************************************/ ! 6: ! 7: ! 8: ! 9: /******************************************************************************\ ! 10: * SYMBOLIC CONSTANTS ! 11: \******************************************************************************/ ! 12: ! 13: #define ERR_MOD_NAME "Error: PRINTER.EXE (GETPDRIV.C)" ! 14: ! 15: ! 16: ! 17: /******************************************************************************\ ! 18: * GLOBAL VARIABLES ! 19: \******************************************************************************/ ! 20: ! 21: char *gaDrvInfo[] = ! 22: ! 23: { "DRIVER_INFO_1", ! 24: " pName\t\t%s", ! 25: ! 26: "DRIVER_INFO_2", ! 27: " cVersion\t%ld", ! 28: " pName\t\t%s", ! 29: " pEnvironment\t%s", ! 30: " pDriverPath\t%s", ! 31: " pDataFile\t%s", ! 32: " pConfigFile\t%s" }; ! 33: ! 34: ! 35: ! 36: /******************************************************************************\ ! 37: * EXTERNAL VARIABLES ! 38: \******************************************************************************/ ! 39: ! 40: extern HWND ghwndMain; ! 41: extern char gszDeviceName []; ! 42: extern char gszDriverName []; ! 43: extern char gszPort []; ! 44: ! 45: ! 46: ! 47: /******************************************************************************\ ! 48: * MACROS ! 49: \******************************************************************************/ ! 50: ! 51: #define outstr() SendDlgItemMessage (hwnd, DID_LISTBOX, LB_INSERTSTRING, \ ! 52: (UINT)-1, (LONG) buf); ! 53: ! 54: ! 55: ! 56: /******************************************************************************\ ! 57: * FUNCTION PROTOTYPES ! 58: \******************************************************************************/ ! 59: ! 60: BOOL DisplayPrinterDriverInfo (HWND);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.