Platform SDK: RAS/Routing and RAS |
The RasInvokeEapUI function displays a custom user interface to obtain Extensible Authentication Protocol (EAP) information from the user.
DWORD RasInvokeEapUI( HRASCONN hRasConn, // handle to connection DWORD dwSubEntry, // subentry from callback LPRASDIALEXTENSIONS lpExtensions, HWND hwnd // handle to parent window for user interface );
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the following error codes.
Value | Meaning |
---|---|
ERROR_INVALID_HANDLE | The hRassConn parameter is zero, or the lpExtensions parameter is NULL. |
ERROR_INVALID_SIZE | The value of the dwSize member of the RASDIALEXTENSIONS structure specifies a version of the structure that isn't supported by the operating system in use. |
Other | Use FormatMessage to retrieve the system error message that corresponds to the error code returned. |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Ras.h.
Library: Use Rasapi32.lib.
Remote Access Service (RAS) Overview, Remote Access Service Functions, RasDial, RASDIALEXTENSIONS, RASEAPINFO