RasEapGetInfo (Compact 2013)
3/26/2014
This function is called by RAS to obtain a set of function pointers for a specified authentication protocol.
Syntax
DWORD RasEapGetInfo(
DWORD dwEapTypeId,
PPP_EAP_INFO* pEapInfo
);
Parameters
- dwEapTypeId
[in] Specifies the authentication protocol for which to obtain information.
- pEapInfo
[out] Pointer to a PPP_EAP_INFO structure. The structure receives members that RAS sets to identify the structure version and the authentication protocol for which function pointers are requested.
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.
Remarks
The DLL that implements RasEapGetInfo may support more than one authentication protocol. The dwEapTypeId parameter specifies for which authentication protocol to obtain information.
Implementations of EAP must export the RasEapGetInfo function, because RAS uses RasEapGetInfo to obtain pointers to the other authentication protocol functions.
Upon initialization, RAS calls RasEapGetInfo for each EAP DLL installed in the registry subkey.
If the function returns any value other than NO_ERROR, RAS considers the authentication protocol to be nonfunctional. RAS posts an error to the event log that indicates that this protocol did not start correctly and therefore is not available.
Note
This function is called by the EAP module, not by the application. Therefore, no link library is exposed.
Requirements
Header |
raseapif.h |