WinSNMP Error Codes

[This is preliminary documentation and subject to change.]

Note  The errors described in this topic are distinct from the SNMP error codes defined by the relevant RFCs.

All WinSNMP functions return the value SNMPAPI_FAILURE if the function fails. The WinSNMP manager application must immediately call the SnmpGetLastError function to retrieve extended error information when a WinSNMP function fails. For additional information about the extended error codes WinSNMP functions return, see the following topics:

The WinSNMP errors that convey context-specific information are noted in each function's reference page.