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.