Share via


SnmpUtilVarBindListCpy

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

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 Values

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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later Snmp.h   Snmpapi.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SnmpVarBindList, SnmpUtilVarBindListFree

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.