The SnmpMgrClose function closes communications sockets and data structures associated with the specified session.
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.