3 Copyright (c) 1997 - 1999 Hewlett-Packard Company.
4 Copyright (c) 1997 - 1999 Microsoft Corporation
13 * This file is contained in WinDDK 6001.18002
19 #if (!defined(UNKNOWN_PROTOCOL))
20 #define UNKNOWN_PROTOCOL 0
21 #define PROTOCOL_UNKNOWN_TYPE UNKNOWN_PROTOCOL
24 #if (!defined(RAWTCP))
26 #define PROTOCOL_RAWTCP_TYPE RAWTCP
31 #define PROTOCOL_LPR_TYPE LPR
34 #define MAX_PORTNAME_LEN 63 +1 // port name length
35 #define MAX_NETWORKNAME_LEN 48 +1 // host name length
36 #define MAX_NETWORKNAME2_LEN 128 // host name or IPv6 address
37 #define MAX_SNMP_COMMUNITY_STR_LEN 32 +1 // SNMP Community String Name
38 #define MAX_QUEUENAME_LEN 32 +1 // lpr print que name
39 #define MAX_IPADDR_STR_LEN 15 +1 // ip address; string version
40 #define MAX_ADDRESS_STR_LEN 12 +1 // hw address length
41 #define MAX_DEVICEDESCRIPTION_STR_LEN 256+1
45 typedef struct _PORT_DATA_1
47 WCHAR sztPortName
[MAX_PORTNAME_LEN
];
52 WCHAR sztHostAddress
[MAX_NETWORKNAME_LEN
];
53 WCHAR sztSNMPCommunity
[MAX_SNMP_COMMUNITY_STR_LEN
];
55 WCHAR sztQueue
[MAX_QUEUENAME_LEN
];
56 WCHAR sztIPAddress
[MAX_IPADDR_STR_LEN
];
61 } PORT_DATA_1
, *PPORT_DATA_1
;
63 typedef struct _PORT_DATA_2
65 WCHAR sztPortName
[MAX_PORTNAME_LEN
];
70 WCHAR sztHostAddress
[MAX_NETWORKNAME2_LEN
];
71 WCHAR sztSNMPCommunity
[MAX_SNMP_COMMUNITY_STR_LEN
];
73 WCHAR sztQueue
[MAX_QUEUENAME_LEN
];
78 DWORD dwPortMonitorMibIndex
;
79 } PORT_DATA_2
, *PPORT_DATA_2
;
82 typedef struct _PORT_DATA_LIST_1
86 PORT_DATA_2 pPortData
[1];
87 } PORT_DATA_LIST_1
, *PPORT_DATA_LIST_1
;
90 typedef struct _DELETE_PORT_DATA_1
92 WCHAR psztPortName
[MAX_PORTNAME_LEN
];
96 } DELETE_PORT_DATA_1
, *PDELETE_PORT_DATA_1
;
99 typedef struct _CONFIG_INFO_DATA_1
103 } CONFIG_INFO_DATA_1
, *PCONFIG_INFO_DATA_1
;