RasAdminFreeBuffer

[New - Windows NT]

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
);  

Parameters

Pointer

Pointer to the buffer to be freed.

Return Values

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.

Do not call GetLastError to get error information for this function.

Remarks

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

See Also

RasAdminPortEnum, RasAdminPortGetInfo