Skip to content

Latest commit

 

History

History
102 lines (71 loc) · 3.67 KB

nf-snmp-snmpextensioninitex.md

File metadata and controls

102 lines (71 loc) · 3.67 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:snmp.SnmpExtensionInitEx
SnmpExtensionInitEx function (snmp.h)
The Microsoft SNMP service calls the SnmpExtensionInitEx function to identify any additional management information base (MIB) subtrees the SNMP extension agent supports. This function is an element of the SNMP Extension Agent API.
SnmpExtensionInitEx
SnmpExtensionInitEx callback
SnmpExtensionInitEx callback function [SNMP]
_snmp_snmpextensioninitex
snmp.snmpextensioninitex
snmp/SnmpExtensionInitEx
snmp\snmpextensioninitex.htm
SNMP
f4e090ca-3f15-4f50-8ea7-92a06868268f
12/05/2018
SnmpExtensionInitEx, SnmpExtensionInitEx callback, SnmpExtensionInitEx callback function [SNMP], _snmp_snmpextensioninitex, snmp.snmpextensioninitex, snmp/SnmpExtensionInitEx
snmp.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
SnmpExtensionInitEx
snmp/SnmpExtensionInitEx
c++
APIRef
kbSyntax
UserDefined
Snmp.h
SnmpExtensionInitEx

SnmpExtensionInitEx function

-description

[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 SnmpExtensionInitEx function to identify any additional management information base (MIB) subtrees the SNMP extension agent supports. This function is an element of the SNMP Extension Agent API.

-parameters

-param pNextSupportedRegion [out]

Pointer to an AsnObjectIdentifier structure to receive the next MIB subtree that the extension agent supports.

-returns

If the pNextSupportedRegion parameter has been initialized with an additional MIB subtree, the return value is TRUE.

If there are no more MIB subtrees to register, the return value is FALSE.

-remarks

The SNMP service repeatedly calls the SnmpExtensionInitEx function entry point so the extension agent can register support for additional MIB subtrees.

The SNMP service makes a copy of the AsnObjectIdentifier structure the extension agent returns in the pNextSupportedRegion parameter. The extension agent must allocate and deallocate the resources associated with the original structure. It can do this when the SNMP service calls the SnmpExtensionClose function.

-see-also

AsnObjectIdentifier

SNMP Functions

Simple Network Management Protocol (SNMP) Overview

SnmpExtensionClose

SnmpExtensionInit

SnmpExtensionMonitor