The NetApiBufferReallocate function changes the size of a buffer allocated with NetApiBufferAllocate.
NET_API_STATUS NetApiBufferReallocate(
LPVOID OldBuffer, | |
DWORD NewByteCount, | |
LPVOID NewBuffer | |
); |
Parameters
OldBuffer
Pointer to the reallocated buffer.
NewByteCount
The new size of the buffer.
NewBuffer
Pointer to a function information buffer previously returned on a function call.
See Also