RasEapEnd (Compact 2013)
3/26/2014
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 stops the authentication session.
Remarks
The RasEapEnd function is not part of the RRAS API. It is implemented in the EAP 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.
If RasEapBegin returned successfully, RAS calls the RasEapEnd function when authentication has finished.
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
RasEapBegin
RasEapGetInfo
PPP_EAP_INFO
PPP_EAP_INPUT