SnmpExtensionClose function (snmp.h)

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

The Microsoft SNMP service calls the SnmpExtensionClose function to request that the SNMP extension agent deallocate resources and terminate operations. This function is an element of the SNMP Extension Agent API.

Syntax

VOID SNMP_FUNC_TYPE SnmpExtensionClose();

Parameters

This function has no parameters.

Return value

This callback function does not return a value.

Remarks

It is not necessary for the extension agent to call its own SnmpExtensionClose entry point. This is because the SNMP service calls the extension agent's SnmpExtensionClose function when the service unloads the extension agent from the service's address space. The extension agent can clean up allocated resources and terminate services at this time.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header snmp.h

See also

SNMP Functions

Simple Network Management Protocol (SNMP) Overview

SnmpExtensionInit

SnmpExtensionInitEx