SnmpUtilAsnAnyCpy

This function copies the variable pointed to by the pAnySrc parameter to the pAnyDst parameter. The function allocates any necessary memory for the destination's copy.

SNMPAPI SnmpUtilAsnAnyCpy(
  AsnAny* pAnyDest, 
  AsnAny* pAnySrc 
);

Parameters

  • pAnyDest
    Pointer to an AsnAny structure to receive the copy.
  • pAnySrc
    Pointer to an AsnAny source 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 SnmpUtilAsnAnyFree function to free the memory that the SnmpUtilAsnAnyCpy function allocates for the destination structure.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.
Link Library: Snmpapi.lib.

See Also

SnmpUtilAsnAnyFree | AsnAny

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.