RasAdminFreeBuffer function

[This function is provided only for backward compatibility with Windows NT Server 4.0. It returns ERROR_CALL_NOT_IMPLEMENTED on Windows Server 2003. Applications should use the MprAdminBufferFree function.]

The RasAdminFreeBuffer function frees memory that was allocated by RAS on behalf of the caller.

Syntax

DWORD RasAdminFreeBuffer(
  _In_ PVOID Pointer
);

Parameters

Pointer [in]

Pointer to the buffer to be freed.

Return value

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.

Remarks

Use the RasAdminFreeBuffer function to free the buffers allocated by the RasAdminPortEnum and RasAdminPortGetInfo functions.

Requirements

Requirement Value
End of client support
Windows 2000 Professional
End of server support
Windows 2000 Server
Header
Rassapi.h
Library
Rassapi.lib
DLL
Rassapi.dll

See also

Remote Access Service (RAS) Overview

RAS Server Administration Functions

RasAdminPortEnum

RasAdminPortGetInfo