A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



NetApiBufferFree

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

VB4-32,5,6
Declare Function NetApiBufferFree Lib "netapi32" (ByVal Buffer As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Win9x/ME: Not supported

Library
Netapi32

Parameter Information
- Buffer
[in] Pointer to a buffer returned previously by another network management function.

Return Values
If the function succeeds, the return value is NERR_Success.

If the function fails, the return value is a Win32 API error code. For a list of error codes, see Error Codes.

Last update: 07 April 2006