SnmpUtilMemReAlloc
The SnmpUtilMemReAlloc function changes the size of the specified memory
object.
LPVOID SnmpUtilMemReAlloc(
LPVOID Addr, |
// pointer
to memory object |
UINT Size |
// bytes to
allocate |
); |
|
Parameters
Addr
[in] Pointer
to the memory object to be resized.
Size
[in] The
number of bytes to allocate for the new memory object.
Return Values
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.
Remarks
Use the SnmpUtilMemFree function to release memory that the SnmpUtilMemReAlloc function allocates.
See Also