Export (0) Print
Expand All

SnmpUtilVarBindCpy function

[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]

The SnmpUtilVarBindCpy function copies the specified SnmpVarBind structure, and allocates any memory necessary for the destination structure. The SnmpUtilVarBindCpy function is an element of the SNMP Utility API.

Syntax


SNMPAPI SnmpUtilVarBindCpy(
  _Out_  SnmpVarBind *pVbDst,
  _In_   SnmpVarBind *pVbSrc
);

Parameters

pVbDst [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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Snmp.h

Library

Snmpapi.lib

DLL

Snmpapi.dll

See also

Simple Network Management Protocol (SNMP) Overview
SNMP Functions
SnmpVarBind
SnmpUtilVarBindFree

 

 

Community Additions

ADD
Show:
© 2014 Microsoft