| Platform SDK: RAS/Routing and RAS | 
The RasAdminFreeBuffer function frees memory that was allocated by RAS on behalf of the caller.
DWORD RasAdminFreeBuffer( PVOID Pointer // pointer to the buffer to free );
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value can be the following error code.
| Value | Meaning | 
|---|---|
| ERROR_INVALID_PARAMETER | The Pointer parameter is invalid. | 
There is no extended error information for this function; do not call GetLastError.
Use the RasAdminFreeBuffer function to free the buffers allocated by the RasAdminPortEnum and RasAdminPortGetInfo functions.
  Windows NT/2000: Requires Windows NT 4.0 or later.
  Header: Declared in Rassapi.h.
  Library: Use Rassapi.lib.
Remote Access Service (RAS) Overview, RAS Server Administration Functions, RasAdminPortEnum, RasAdminPortGetInfo