WinSNMP Error Codes

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

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. The following table lists topics that discuss extended error codes returned by WinSNMP functions.

Topic Description
WinSNMP Common Error Codes Describes common error codes for the WinSNMP API.
Network Transport Errors Describes network transport errors for the WinSNMP API.

 

The WinSNMP errors that convey context-specific information are included in the function reference page.