Compartilhar via


RasEapFreeMemory

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function is called by RAS to free memory buffers returned by the RasEapInvokeConfigUI, RasEapGetIdentity, and RasEapInvokeInteractiveUI functions.

Syntax

DWORD RasEapFreeMemory(
  BYTE* pMemory
);

Parameters

  • pMemory
    [in] Pointer to the memory to free.

Return Value

If the function call succeeds, the return value is NO_ERROR.

If the function call fails, it returns an appropriate error code from Winerror.h, Raserror.h, or Mprerror.h.

Remarks

An authentication protocol may implement its various user interfaces (Uis) in different dynamic-link libraries (DLLs). In such a case, each DLL must implement the RasEapFreeMemory function.

A single DLL may also implement multiple UIs. For example, a single DLL may implement both the configuration and identity UI for an authentication protocol. Another example is a DLL that implements two configuration UIs, 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 UIs implemented in the DLL.

Note

This function is called by the EAP module, not by the application. Therefore, no link library is exposed. For more information, see EAP Implementation Details.

Requirements

Header raseapif.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note This function is called by the EAP module, not by the application. Therefore, no link library is exposed. For more information see EAP Implementation Details.

See Also

Reference

RasEapInvokeConfigUI
RasEapGetIdentity
RasEapInvokeInteractiveUI