NetApiBufferFree

The NetApiBufferFree function frees the memory that NetApiBufferAllocate allocates. Use this function to free the memory that other Net functions return.

NET_API_STATUS NetApiBufferFree(
  LPVOID Buffer  
);
 

Parameters

Buffer
Pointer to an information buffer that other Net functions 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, NetApiBufferReallocate