Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function is called by RAS to initialize or deinitialize the authentication protocol.
Syntax
DWORD RasEapInitialize( BOOL fInitialize ); |
Parameters
- fInitialize
-
[in] Specifies whether the authentication protocol should initialize or deinitialize. This parameter is TRUE if the protocol initializes and FALSE if the protocol does not initialize.
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 RasEapInitializefunction is not part of the RRAS application programming interface (API); it is implemented in the EAP dynamic-link library (DLL). When RAS calls the RasEapGetInfofunction, it receives a PPP_EAP_INFOstructure for the authentication protocol. This structure contains a pointer to the RasEapInitializefunction.
The authentication protocol may set the RasEapInitializemember in PPP_EAP_INFOto NULL. A NULL value indicates that the authentication protocol does not require initialization or deinitialization. Therefore, RAS need not call this function.
Note: |
---|
This function is called by the EAP module, not by the application. Therefore, no link library is exposed. For more information, see EAP Implementation Details. |
Requirements
Header | raseapif.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | This function is called by the EAP module, not by the application. Therefore, no link library is exposed. For more information see EAP Implementation Details. |