Share via


RasEapEnd

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

DWORD (*RasEapEnd) (
  VOID* pWorkBuffer
);

Parameters

  • pWorkBuffer
    [in] Pointer to the work buffer.

Return Values

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Raseapif.h.
Link Library: 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

RasEapBegin | RasEapGetInfo | PPP_EAP_INFO | PPP_EAP_INPUT

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.