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.

45 lines
1.4 KiB

  1. /*****************************************************************************
  2. *
  3. * $Workfile: RTcpData.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_RAWTCPDATA_H
  14. #define INC_RAWTCPDATA_H
  15. // globals shared by the UI & transport dlls
  16. #if (!defined(RAWTCP))
  17. #define RAWTCP 1
  18. #define PROTOCOL_RAWTCP_TYPE RAWTCP
  19. #endif
  20. #define PROTOCOL_RAWTCP_VERSION 1 // supports ADDPORT_DATA_1; REGPORT_DATA_1; CONFIGPORT_DATA_1
  21. // UI structures
  22. typedef struct _RAWTCP_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 sztSNMPCommunity[MAX_SNMP_COMMUNITY_STR_LEN];
  29. DWORD dwSNMPEnabled;
  30. DWORD dwSNMPDevIndex;
  31. DWORD dwPortNumber;
  32. } RAWTCP_PORT_DATA_1, *PRAWTCP_PORT_DATA_1;
  33. typedef struct _RAWTCP_CONFIG_DATA_1 // used by the UI -- configPort
  34. {
  35. TCHAR sztIPAddress[MAX_IPADDR_STR_LEN];
  36. TCHAR sztHardwareAddress[MAX_ADDRESS_STR_LEN];
  37. TCHAR sztDeviceType[MAX_DEVICEDESCRIPTION_STR_LEN];
  38. } RAWTCP_CONFIG_DATA_1, *PRAWTCP_CONFIG_DATA_1;
  39. #endif // INC_RAWTCPDATA_H