Share via


SnmpUtilVarBindCpy (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID SnmpUtilVarBindCpy(
  SnmpVarBind* pVbDest, 
  SnmpVarBind* pVbSrc 
);

Parameters

  • pVbDest
    [out] Pointer to an SnmpVarBind structure to receive the copy.
  • pVbSrc
    [in] Pointer to an 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 SnmpUtilVarBindFree function to free memory that the SnmpUtilVarBindCpy function allocates for the destination structure.

Requirements

Header snmp.h
Library snmpapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

SNMP Functions
SnmpVarBind
SnmpUtilVarBindFree