The SnmpUtilMemReAlloc function changes the size of the specified memory object. This function is an element of the SNMP Utility API.
LPVOID SnmpUtilMemReAlloc(
LPVOID pMem, // pointer to memory object
UINT nBytes // bytes to allocate
);
If the function succeeds, the return value is a pointer to the newly allocated memory object.
If the function fails, the return value is NULL.
Call the SnmpUtilMemFree function to release memory that the SnmpUtilMemReAlloc function allocates.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in snmp.h.
Import Library: Use snmpapi.lib.
Simple Network Management Protocol (SNMP) Overview, SNMP Functions, SnmpUtilMemAlloc, SnmpUtilMemFree