NetApiBufferReallocate

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmapibuf.h.
  Import Library: Use netapi32.lib.

See Also

Networking (Net) Overview, Net Functions, NetApiBufferAllocate