[This is preliminary documentation and subject to change.]
The RAS Connection Manager calls the RasEapBegin function to initialize an authentication session.
DWORD ( *RasEapBegin )( 
  VOID *          ppWorkBuffer,  // buffer used in subsequent calls to protocol
  PPP_EAP_INPUT * pPppEapInput   // initialization information 
);
 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 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 RasEapBegin function.
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.
  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in raseapif.h.
RasEapEnd, RasEapGetInfo, RasEapMakeMessage, PPP_EAP_INFO, PPP_EAP_INPUT