SnmpUtilOidCpy  4GR6_8K 

The SnmpUtilOidCpy function copies the variable pointed to by the SrcObjId parameter to the DestObjId  parameter, allocating any necessary memory for the destination s copy.

SNMPAPI SnmpUtilOidCpy(

    AsnObjectIdentifier *DestObjId,

// destination object identifier

    AsnObjectIdentifier *SrcObjId

// source object identifier

   );

 

 

Parameters

DestObjId

[out] Points to an AsnObjectIdentifierVSXCUF structure to receive the copy.

SrcObjId

[in] Points to an AsnObjectIdentifier structure to copy.

 

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

Remarks

The application can free memory that the SnmpUtilOidCpy function allocates for the destination with the SnmpUtilOidFree function.

See Also

SnmpUtilOidFree1GAVHUG