Partager via


RasEapEnd (Windows Embedded CE 6.0)

1/6/2010

This function is called by RAS to end an authentication session. RAS will call RasEapEnd regardless of whether the session completed successfully.

Syntax

DWORD (*RasEapEnd) (
  VOID* pWorkBuffer
);

Parameters

  • pWorkBuffer
    [in] Pointer to the work buffer.

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. If RasEapEnd returns an error code, RAS terminates the authentication session.

Remarks

The RasEapEnd function is not part of the RRAS application programming interface (API); it is implemented in the EAP dynamic-link library (DLL). When RAS calls the RasEapGetInfo function, it receives a PPP_EAP_INFO structure for the authentication protocol. This structure contains a pointer to the RasEapEnd function.

Provided that RasEapBegin returned successfully, RAS calls the RasEapEnd function when authentication has completed.

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

EAP Functions
RasEapBegin
RasEapGetInfo
PPP_EAP_INFO
PPP_EAP_INPUT