Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.4 KiB

  1. /***************************************************************************
  2. *
  3. * File Name: LPSI.H
  4. *
  5. * Copyright Hewlett-Packard Company 1997
  6. * All rights reserved.
  7. *
  8. * 11311 Chinden Blvd.
  9. * Boise, Idaho 83714
  10. *
  11. *
  12. * Description: contains macros, the SETUPINFO structure and other
  13. * definitions for WPNPINST.DLL
  14. *
  15. * Author: Garth Schmeling
  16. *
  17. * Modification history:
  18. *
  19. * Date Initials Change description
  20. *
  21. * 10-10-97 GFS Initial checkin
  22. *
  23. *
  24. *
  25. ***************************************************************************/
  26. #ifndef _LPSI_H_
  27. #define _LPSI_H_
  28. //---------------------------------------------------------
  29. // Macros
  30. //---------------------------------------------------------
  31. #define _MAX_NAME_ 32
  32. #define _MAX_PATH_ 256
  33. #define MAX_COLOR_PATH 30
  34. #define MAX_DEVICE_ID_LEN 200
  35. #define NSTRINGS 6
  36. #define CMD_INSTALL_DRIVER 373
  37. #define IS ==
  38. #define ISNT !=
  39. #define OR ||
  40. #define AND &&
  41. //---------------------------------------------------------
  42. // Setup Info Structure
  43. //---------------------------------------------------------
  44. #pragma pack(1) // 1 Byte Packing
  45. typedef struct tagSETUPINFO {
  46. char szPortMonitor[2 * _MAX_PATH_];
  47. char szPrintProcessor[2 * _MAX_PATH_];
  48. char szVendorSetup[2 * _MAX_PATH_];
  49. char szVendorInstaller[2 * _MAX_PATH_];
  50. char ShareName[_MAX_PATH_];
  51. char INFfileName[_MAX_PATH_];
  52. char szPort[_MAX_PATH_];
  53. char szDriverFile[_MAX_PATH_];
  54. char szDataFile[_MAX_PATH_];
  55. char szConfigFile[_MAX_PATH_];
  56. char szHelpFile[_MAX_PATH_];
  57. char szDriverDir[_MAX_PATH_];
  58. char BinName[_MAX_PATH_];
  59. char szFriendly[_MAX_PATH_];
  60. char szModel[_MAX_PATH_];
  61. char szDefaultDataType[_MAX_PATH_];
  62. int dwDriverVersion;
  63. int dwUniqueID;
  64. int bNetPrinter;
  65. int wFilesUsed;
  66. int wFilesAllocated;
  67. int wRetryTimeout;
  68. int wDNSTimeout;
  69. int bDontQueueFiles;
  70. int bNoTestPage;
  71. int hModelInf;
  72. int wCommand;
  73. int nRes1;
  74. LPBYTE lpPrinterInfo2;
  75. LPBYTE lpDriverInfo3;
  76. LPBYTE lpFiles;
  77. LPBYTE lpVcpInfo;
  78. } SETUPINFO, FAR *LPSI;
  79. #endif // _LPSI_H_