Compartir a través de


SnmpUtilOidCpy (Windows CE 5.0)

Send Feedback

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.