RasEapFreeMemory function (raseapif.h)

The RAS connection manager calls RasEapFreeMemory to free memory buffers returned by RasEapInvokeConfigUI, RasEapGetIdentity, and RasEapInvokeInteractiveUI.

Syntax

DWORD RasEapFreeMemory(
  BYTE *pMemory
);

Parameters

pMemory

Pointer to the memory to free.

Return value

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value should be an appropriate error code from Winerror.h, Raserror.h, or Mprerror.h.

Remarks

An authentication protocol may implement its various user interfaces in different DLLs. In such a case, each DLL must implement the RasEapFreeMemory function.

It is also possible that a single DLL may implement multiple user interfaces. For example, a single DLL may implement both the configuration and identity user interface for an authentication protocol. Another example would be a DLL that implements two configuration user interfaces, each to support a different authentication protocol. In these cases, the DLL must implement a single version of RasEapFreeMemory that can free memory returned from any of the user interfaces implemented in the DLL.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header raseapif.h

See also

EAP Functions

Extensible Authentication Protocol Reference

RasEapGetIdentity

RasEapInvokeConfigUI

RasEapInvokeInteractiveUI