MprAdminBufferFree function (mprapi.h)

The MprAdminBufferFree function frees memory buffers returned by: MprAdminDeviceEnum, MprAdminInterfaceGetInfo, MprAdminInterfaceDeviceGetInfo, MprAdminInterfaceEnum, MprAdminServerGetInfo, MprAdminInterfaceTransportGetInfo, and MprAdminTransportGetInfo.

Syntax

DWORD MprAdminBufferFree(
  [in] LPVOID pBuffer
);

Parameters

[in] pBuffer

Pointer to the memory buffer to free.

Return value

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value is the following error code.

Value Meaning
ERROR_INVALID_PARAMETER
The pBuffer parameter is NULL.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mprapi.h
Library Mprapi.lib
DLL Mprapi.dll

See also

MprAdminInterfaceEnum

MprAdminInterfaceGetInfo

MprAdminInterfaceTransportGetInfo

MprAdminServerGetInfo

MprAdminTransportGetInfo

Router Administration Functions

Router Management Reference