Compartilhar via


SnmpUtilVarBindListCpy (Compact 2013)

3/26/2014

This function copies the specified SnmpVarBind structure, and allocates any necessary memory for the destination's copy.

Syntax

VOID SnmpUtilVarBindListCpy(
  SnmpVarBindList* pVblDst,
  SnmpVarBindList* pVblSrc 
);

Parameters

  • pVblDst
    [out] Pointer to the SnmpVarBindList structure to receive the copy.
  • pVblSrc
    [in] Pointer to the SnmpVarBind 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

Header

snmp.h

Library

snmpapi.lib

See Also

Reference

SNMP Functions
SnmpVarBindList
SnmpUtilVarBindListFree