SNMP Variable Types and Request PDU Types
[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]
The definitions for some SNMP variable types and request PDU types have changed. The Snmp.h file maps old types to the corresponding new types.
Modified SNMP Variable Types
You should use the new SNMP variable types listed in the following table when you develop manager applications that use the Microsoft SNMP Management API. The table lists the old SNMP variable types with the corresponding new variable types.
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 |
Modified SNMP PDU Request Types
You should use the new SNMP PDU types listed in the following table when you develop manager applications that use the Microsoft SNMP Management API. The table lists the old SNMP PDU types with the corresponding new PDU types.
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 |