Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
snmp.lib
Header File
snmp.h
Unicode
No
Platform Notes
None

SnmpUtilOidAppend

The SnmpUtilOidAppend function appends the source object identifier to the destination object identifier.

SNMPAPI SnmpUtilOidAppend(

AsnObjectIdentifier *DestObjId,
// destination object identifier
AsnObjectIdentifier *SrcObjId
// source object identifier
);

Parameters

DestObjId

[in/out] Points to an AsnObjectIdentifier structure to receive the copy.

SrcObjId

[in] Points to an AsnObjectIdentifier structure to append.

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. This function does not generate Windows Sockets errors. The application should call the GetLastError function. GetLastError may return the following error codes:

Error Code
Description
SNMP_BERAPI_OVERFLOW
Indicates an overflow condition
SNMP_MEM_ALLOC_ERROR
Indicates a memory allocation error

Remarks

The SnmpUtilOidAppend function calls the SnmpUtilMemReAlloc function. The SnmpUtilMemReAlloc function expands the buffer for the destination object identifier.

Use the SnmpUtilOidFree function to free memory that the SnmpUtilOidAppend function allocates for the destination.

See Also

SnmpUtilMemReAlloc
, SnmpUtilOidFree

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database