[This is preliminary documentation and subject to change.]
The RAS Connection Manager calls the RasEapEnd function to end an authentication session. RAS will call RasEapEnd regardless of whether the session completed successfully.
DWORD ( *RasEapEnd ) (
VOID * pWorkBuffer // work buffer to free
);
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 will terminate the authentication session.
The RasEapEnd function is not part of the Routing and RAS API; it is implemented in the Extensible Authentication Protocol (EAP) DLL. When the RAS 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 RAS Connection manager will call the RasEapEnd function when authentication has completed.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in raseapif.h.
RasEapBegin, RasEapGetInfo, PPP_EAP_INFO, PPP_EAP_INPUT