Partager via


SnmpExtensionClose

This function is called by the Microsoft Simple Network Management Protocol (SNMP) service to request that the SNMP extension agent deallocate resources and terminate operations. This function is an element of the SNMP Extension Agent application programming interface (API).

VOID SnmpExtensionClose();

Parameters

None.

Return Values

None.

Remarks

An SNMP extension agent that runs on Windows® NT® 3.51 or 4.0 can also export the SnmpExtensionClose function. Because the SNMP service does not call this function under these conditions, the extension agent must call SnmpExtensionClose manually. It should do this when the SNMP service calls the extension agent's DllMain function with the value DLL_PROCESS_DETACH. The extension agent must clean up allocated resources and terminate services at this time.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.
Link Library: Snmp.lib.

See Also

DllMain | SnmpExtensionInit | SnmpExtensionInitEx

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.