RasEapEnd callback function
The RAS connection manager calls the RasEapEnd function to end an authentication session. RAS calls RasEapEnd regardless of whether the session completed successfully.
Syntax
DWORD APIENTRY RasEapEnd(
_In_ VOID *pWorkBuffer
);
Parameters
- pWorkBuffer [in]
Pointer to the work buffer 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. If RasEapEnd returns an error code, RAS terminates the authentication session.
Remarks
The RasEapEnd function is not part of the RRAS API; it is implemented in the EAP DLL. When the Connection Manager 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, the connection manager calls the RasEapEnd function when authentication has completed.
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
Raseapif.h |