RasEapBegin callback function
The RAS connection manager calls the RasEapBegin function to initiate an authentication session.
- ppWorkBuffer [out]
Pointer to a pointer that, on successful return, points to a work buffer. This buffer is opaque to RAS; the contents of the buffer are used only by the authentication protocol. The RAS connection manager passes a pointer to this buffer to the authentication protocol in subsequent calls to RasEapMakeMessage.
- pPppEapInput [in]
Pointer to a PPP_EAP_INPUT structure that specifies initialization information for the authentication session.
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.
The RasEapBegin function is not part of the RRAS API; it is implemented in the EAP DLL.
The memory for the work buffer (pointed to by *ppWorkBuffer) is allocated by the authentication protocol. The authentication protocol should free this memory in its implementation of RasEapEnd.
For more information, see Avoiding Buffer Overruns.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
- Extensible Authentication Protocol Reference
- EAP Functions
- Authentication Protocol Initialization