[This is preliminary documentation and subject to change.]
The RAS Connection Manager calls RasEapGetInfo to obtain a set of function pointers for a specified authentication protocol.
DWORD RasEapGetInfo(
PPP_EAP_INFO * pEapInfo // pointer to info for a particular EAP
);
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.
Implementations of EAP must export the RasEapGetInfo function, since RAS uses RasEapGetInfo to obtain pointers to the other authentication protocol functions.
Upon initialization, the RAS Connection Manager Service will call RasEapGetInfo for each EAP DLL installed in the registry subkey, as explained in the EAP Overview.
If the function returns any value other than NO_ERROR, RAS will consider the authentication protocol to be non-functional. RAS will post an error to the Microsoft® Windows NT® Event Log indicating that this protocol did not start correctly and therefore is not available.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in raseapif.h.
EAP (Extensible Authentication Protocol) Overview, PPP_EAP_INFO