Compartir a través de


SnmpUtilOctetsCpy (Windows CE 5.0)

Send Feedback

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

SNMPAPISnmpUtilOctetsCpy(AsnOctetString pOctetsDest,AsnOctetStringpOctetsSrc);

Parameters

  • pOctetsDest
    Pointer to an AsnOctetString structure to receive the copy.
  • pOctetsSrc
    Pointer to an AsnOctetString 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 SnmpUtilOctetsFree function to free the memory that the SnmpUtilOctetsCpy function allocates for the destination structure.

Requirements

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

See Also

SnmpUtilOctetsFree

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.