Partager via


SnmpUtilOidCpy

This function copies the variable pointed to by the pOidSrc parameter to the pOidDst parameter, allocating any necessary memory for the destination's copy.

SNMPAPI SnmpUtilOidCpy(
  AsnObjectIdentifier* pOidDst, 
  AsnObjectIdentifier* pOidSrc 
);

Parameters

  • pOidDst
    Pointer to an AsnObjectIdentifier structure to receive the copy.
  • pOidSrc
    Pointer to an AsnObjectIdentifier 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 SnmpUtilOidFree function to free memory that the SnmpUtilOidCpy function allocates for the destination structure.

Requirements

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

See Also

SnmpUtilOidFree

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.