EapPeerInvokeIdentityUI function (eapmethodpeerapis.h)
Raises a custom interactive user interface dialog to obtain user identity information for the EAP method on the client.
DWORD EapPeerInvokeIdentityUI( EAP_METHOD_TYPE *pEapType, DWORD dwFlags, HWND hwndParent, DWORD dwSizeOfConnectionData, const BYTE *pConnectionData, DWORD dwSizeOfUserData, const BYTE *pUserData, DWORD *pdwSizeOfUserDataOut, BYTE **ppUserDataOut, LPWSTR *ppwszIdentity, EAP_ERROR **ppEapError );
An EAP_METHOD_TYPE structure that contains vendor and author information about the EAP method used for authenticating the connection.
A combination of EAP flags that describe the EAP authentication session behavior.
A handle to the parent window which will spawn the interactive user interface dialog to obtain the identity data.
The size, in bytes, of the user interface context data specified by pUIContextData.
A pointer to an opaque byte buffer that contains the connection data.
Specifies the size, in bytes, of the user identity data returned in dwSizeOfUserData.
A pointer to the user data specific to this authentication used to pre-populate the user data. When this API is called for the first time, or when a new authentication session starts, this parameter is NULL. Otherwise, set this parameter to the pUserData member of the structure pointed to by theppResult parameter received by EapPeerGetResult.
Specifies the size, in bytes, of the ppUserDataOutbuffer.
A pointer to the pointer of the returned user data. The data is passed to EapPeerBeginSession as input pUserData.
A pointer to the returned user identity. The pointer will be included in the identity response packet and returned to the server.
A pointer to the address of an EAP_ERROR structure that contains any errors raised during the execution of this function call. After consuming the error data, this memory must be freed by calling EapPeerFreeErrorMemory.
This call is performed by a peer-based EAPHost using a function pointer to this API. This API must be implemented on the EAP method loaded by EAPHost, and must strictly conform to the syntax and parameter types specified in the documentation.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|