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 |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. 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 |
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.
SnmpUtilMemReAlloc, SnmpUtilOidFree
file: /Techref/os/win/api/win32/func/src/f86_11.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/13 05:34,
3.143.17.90:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/func/src/f86_11.htm"> SnmpUtilOidAppend</A> |
Did you find what you needed? |