EapPeerInvokeIdentityUI function

Raises a custom interactive user interface dialog to obtain user identity information for the EAP method on the client.

Syntax


DWORD WINAPI EapPeerInvokeIdentityUI(
  _In_        EAP_METHOD_TYPE *pEapType,
  _In_        DWORD           dwflags,
  _In_        HWND            hwndParent,
  _In_        DWORD           dwSizeOfConnectionData,
  _In_  const BYTE            *pConnectionData,
  _Out_       DWORD           dwSizeOfUserData,
  _In_  const BYTE            *pUserData,
  _Out_       DWORD           *pdwSizeOfUserDataOut,
  _Out_       BYTE            **ppUserDataOut,
  _Out_       LPWSTR          *ppwszIdentity,
  _Out_       EAP_ERROR       **ppEapError
);

Parameters

pEapType [in]

An EAP_METHOD_TYPE structure that contains vendor and author information about the EAP method used for authenticating the connection.

dwflags [in]

A combination of EAP flags that describe the EAP authentication session behavior.

hwndParent [in]

A handle to the parent window which will spawn the interactive user interface dialog to obtain the identity data.

dwSizeOfConnectionData [in]

The size, in bytes, of the user interface context data specified by pUIContextData.

pConnectionData [in]

A pointer to an opaque byte buffer that contains the connection data.

dwSizeOfUserData [out]

Specifies the size, in bytes, of the user identity data returned in dwSizeOfUserData.

pUserData [in]

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.

pdwSizeOfUserDataOut [out]

Specifies the size, in bytes, of the ppUserDataOut buffer.

ppUserDataOut [out]

A pointer to the pointer of the returned user data. The data is passed to EapPeerBeginSession as input pUserData.

ppwszIdentity [out]

A pointer to the returned user identity. The pointer will be included in the identity response packet and returned to the server.

ppEapError [out]

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.

Remarks

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Eapmethodpeerapis.h

See also

EapPeerInvokeIdentityUI
EAPHost Peer Method Configuration Functions

 

 

Community Additions

ADD
Show: