Share via


SNMP Extension API Functions (Windows Embedded CE 6.0)

1/6/2010

The SNMP Extension-Agent API functions define the interface between the SNMP service and SNMP extension-agent DLLs. Applications use these functions to resolve the variable bindings that are specified by incoming SNMP PDUs. The following table shows the SNMP Extension API functions that are supported by Windows Embedded CE and should be implemented by an extension agent in order to work with the master agent.

Function Description

SnmpExtensionClose

Deallocates resources and terminates operations.

SnmpExtensionInit

Initializes the SNMP extension-agent DLL.

SnmpExtensionInitEx

Identifies any additional management information base (MIB) subtrees that the SNMP extension agent supports. Implementation is optional.

SnmpExtensionQuery

Resolves SNMP requests that contain variables within one or more of the registered MIB subtrees of the SNMP extension agent.

SnmpExtensionQueryEx

Processes SNMP requests that specify variables in one or more MIB subtrees that are registered by SNMP extension agents. Implementation is optional.

SnmpExtensionTrap

Retrieves information that the service requires for generating traps for the SNMP extension agent. The service calls this function only after the extension agent sets the trap-event handle to the signaled state during a call to the SnmpExtensionInit function.

See Also

Concepts

SNMP API Functions