EapPeerInvokeInteractiveUI function

Raises a custom interactive user interface dialog for the EAP method on the client.

Syntax


DWORD WINAPI EapPeerInvokeInteractiveUI(
  _In_  EAP_METHOD_TYPE *pEapType,
  _In_  HWND            hwndParent,
  _In_  DWORD           dwSizeofUIContextData,
  _In_  BYTE            *pUIContextData,
  _Out_ DWORD           *pdwSizeOfDataFromInteractiveUI,
  _Out_ BYTE            **ppDataFromInteractiveUI,
  _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.

hwndParent [in]

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

dwSizeofUIContextData [in]

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

pUIContextData [in]

A pointer to an opaque byte buffer that contains the context data used to create the user interface dialog.

pdwSizeOfDataFromInteractiveUI [out]

A pointer to the size, in bytes, of the data returned in ppDataFromInteractiveUI.

ppDataFromInteractiveUI [out]

A pointer to the address of an opaque byte buffer that contains data obtained from the interactive user interface dialog.

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 callingEapPeerFreeErrorMemory.

Remarks

This API is used when EAPHost must obtain specific data from the user to continue.

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

EAPHost Peer Method Configuration Functions

 

 

Community Additions

ADD
Show: