The SnmpUtilMemReAlloc function changes the size of the specified memory object.
LPVOID SnmpUtilMemReAlloc(
|
LPVOID Addr, |
// pointer to memory object |
|
UINT Size |
// 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.
Use the SnmpUtilMemFree function to release memory that the SnmpUtilMemReAlloc function allocates.