SnmpExtensionClose (Compact 2013)
3/26/2014
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).
Syntax
VOID SnmpExtensionClose();
Parameters
None.
Return Value
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
Header |
snmp.h |
Library |
snmp.lib |
See Also
Reference
SNMP Functions
SnmpExtensionInit
SnmpExtensionInitEx