Platform SDK: Network Management |
The SnmpMgrClose function closes communications sockets and data structures associated with the specified session. This function is an element of the SNMP Management API.
BOOL SnmpMgrClose( LPSNMP_MGR_SESSION session // SNMP session pointer );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. This function may return Windows Sockets error codes.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Mgmtapi.h.
Library: Use Mgmtapi.lib.
Simple Network Management Protocol (SNMP) Overview, SNMP Functions, SnmpMgrOpen, SnmpMgrRequest