Partager via


RasEapFreeMemory (Compact 2013)

3/26/2014

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.

Requirements

Header

raseapif.h

See Also

Reference

EAP Functions
RasEapInvokeConfigUI
RasEapGetIdentity
RasEapInvokeInteractiveUI