Leaked source code of windows server 2003
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.

41 lines
1.2 KiB

  1. /*****************************************************************************
  2. *
  3. * $Workfile: LPRData.h $
  4. *
  5. * Copyright (C) 1997 Hewlett-Packard Company.
  6. * Copyright (C) 1997 Microsoft Corporation.
  7. * All rights reserved.
  8. *
  9. * 11311 Chinden Blvd.
  10. * Boise, Idaho 83714
  11. *
  12. *****************************************************************************/
  13. #ifndef INC_LPRDATA_H
  14. #define INC_LPRDATA_H
  15. // globals shared by the UI & transport dlls
  16. #if (!defined(LPR))
  17. #define LPR 2
  18. #define PROTOCOL_LPR_TYPE LPR
  19. #endif
  20. #define PROTOCOL_LPR_VERSION1 1 // supports ADDPORT_DATA_1; REGPORT_DATA_1; CONFIGPORT_DATA_1
  21. #define LPR_DEFAULT_PORT_NUMBER 515
  22. typedef struct _LPR_PORT_DATA_1 // used by the registry
  23. {
  24. TCHAR sztPortName[MAX_PORTNAME_LEN];
  25. TCHAR sztHostName[MAX_NETWORKNAME_LEN];
  26. TCHAR sztIPAddress[MAX_IPADDR_STR_LEN];
  27. TCHAR sztHWAddress[MAX_ADDRESS_STR_LEN];
  28. TCHAR sztQueue[MAX_QUEUENAME_LEN];
  29. TCHAR sztSNMPCommunity[MAX_SNMP_COMMUNITY_STR_LEN];
  30. DWORD dwDoubleSpool;
  31. DWORD dwSNMPEnabled;
  32. DWORD dwSNMPDevIndex;
  33. DWORD dwPortNumber;
  34. } LPR_PORT_DATA_1, *PLPR_PORT_DATA_1;
  35. #endif // INC_LPRDATA_H