Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Other versions of this page are also available for the following:
Windows Mobile Not Supported Windows Embedded CE Supported
8/28/2008

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

Syntax


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

Parameters

pVblDst

[out] Pointer to the SnmpVarBindListstructure to receive the copy.

pVblSrc

[in] Pointer to the SnmpVarBindstructure 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 SnmpUtilVarBindListFreefunction to free memory that the SnmpUtilVarBindListCpyfunction allocates for the destination structure

Requirements

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

See Also