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.
SNMPAPI SnmpUtilVarBindListCpy(
SnmpVarBindList *pVblDst, // destination variable bindings list
SnmpVarBindList *pVblSrc // source variable bindings list
);
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Call the SnmpUtilVarBindListFree function to free memory that the SnmpUtilVarBindListCpy function allocates for the destination structure.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in snmp.h.
Import Library: Use snmpapi.lib.
Simple Network Management Protocol (SNMP) Overview, SNMP Functions, SnmpVarBindList, SnmpUtilVarBindListFree, SnmpUtilOidCpy