Platform SDK: Network Management

WinSNMP Error Codes

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 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.