EapPeerInvokeConfigUI function

Raises the EAP method's specific connection configuration user interface dialog on the client.


DWORD WINAPI EapPeerInvokeConfigUI(
  _In_  EAP_METHOD_TYPE *pEapType,
  _In_  HWND            hwndParent,
  _In_  DWORD           dwFlags,
  _In_  DWORD           dwSizeOfConnectionDataIn,
  _In_  BYTE            *pConnectionDataIn,
  _Out_ DWORD           *dwSizeOfConnectionDataOut,
  _Out_ BYTE            **ppConnectionDataOut,
  _Out_ EAP_ERROR       **ppEapError


pEapType [in]

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

hwndParent [in]

A handle to the parent window which will spawn the connection configuration user interface dialog.

dwFlags [in]

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

dwSizeOfConnectionDataIn [in]

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

pConnectionDataIn [in]

A pointer to the connection data specific to this authentication used to pre-populate the configuration user interface. When this API is called for the first time, or when a new authentication session starts, this parameter is NULL.

dwSizeOfConnectionDataOut [out]

Receives a pointer to the size, in bytes, of the ppConnectionDataOut parameter.

ppConnectionDataOut [out]

Receives a pointer to a pointer that contains a byte buffer with the user-configured connection data.

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.


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]



See also

EAPHost Peer Method Configuration Functions



Community Additions