SnmpUtilVarBindListCpy function
[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 SnmpUtilVarBindListCpy function copies the specified SnmpVarBindList structure, and allocates any necessary memory for the destination's copy. This function is an element of the SNMP Utility API.
Syntax
SNMPAPI SnmpUtilVarBindListCpy( _Out_ SnmpVarBindList *pVblDst, _In_ SnmpVarBindList *pVblSrc );
Parameters
- pVblDst [out]
-
Pointer to an SnmpVarBindList structure to receive the copy.
- pVblSrc [in]
-
Pointer to an SnmpVarBindList structure to copy.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
Call the SnmpUtilVarBindListFree function to free memory that the SnmpUtilVarBindListCpy function allocates for the destination structure.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Simple Network Management Protocol (SNMP) Overview
- SNMP Functions
- SnmpVarBindList
- SnmpUtilVarBindListFree
- SnmpUtilOidCpy
Send comments about this topic to Microsoft
Build date: 10/30/2012