Platform SDK: Network Management |
The Microsoft® SNMP service for Windows® 2000 adds support for the following programming features and elements:
In addition, the SNMP service adds support for the following structure:
The SNMP service also introduces the following changes:
The following new SNMP extension agent functions are available to SNMP extension agents that run on Windows 2000.
The following new SNMP utility functions simplify manipulation of octet strings and AsnAny structures, and provide functionality that is useful during the development of SNMP applications.
The definitions for some SNMP variable types have changed. The SNMP.H file maps old variable types to the corresponding new types.
You should use the new SNMP variable type when you develop manager applications that use the Microsoft SNMP Management API. The following table lists the old SNMP variable types with the corresponding new variable type.
Old Variable Type | New Variable Type |
---|---|
ASN_RFC1155_IPADDRESS | ASN_IPADDRESS |
ASN_RFC1155_COUNTER | ASN_COUNTER32 |
ASN_RFC1155_GAUGE | ASN_GAUGE32 |
ASN_RFC1155_TIMETICKS | ASN_TIMETICKS |
ASN_RFC1155_OPAQUE | ASN_OPAQUE |
ASN_RFC1213_DISPSTRING | ASN_OCTETSTRING |
The definitions for some SNMP PDU types have changed. The SNMP.H file maps old PDU types to the corresponding new types.
You should use the new SNMP PDU type when you develop manager applications that use the Microsoft SNMP Management API. The following table lists the old SNMP PDU types with the corresponding new PDU type.
Old PDU Type | New PDU Type |
---|---|
ASN_RFC1157_GETREQUEST | SNMP_PDU_GET |
ASN_RFC1157_GETNEXTREQUEST | SNMP_PDU_GETNEXT |
ASN_RFC1157_GETRESPONSE | SNMP_PDU_RESPONSE |
ASN_RFC1157_SETREQUEST | SNMP_PDU_SET |
ASN_RFC1157_TRAP | SNMP_PDU_V1TRAP |