Partager via


EapPeerInvokeInteractiveUI (Compact 7)

3/12/2014

This 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
    An EAP_METHOD_TYPE structure that contains vendor and author information about the EAP method that is used for authenticating the connection.
  • hwndParent
    A handle to the parent window which will spawn the interactive user interface dialog.
  • dwSizeofUIContextData
    The size, in bytes, of the user interface context data specified by pUIContextData.
  • pUIContextData
    A pointer to an opaque byte buffer that contains the context data that is used to create the user interface dialog.
  • pdwSizeOfDataFromInteractiveUI
    A pointer to the size, in bytes, of the data returned in ppDataFromInteractiveUI.
  • ppDataFromInteractiveUI
    A pointer to the address of an opaque byte buffer that contains data obtained from the interactive user interface dialog.
  • ppEapError
    A pointer to the address of an EAP_ERROR structure that contains any errors raised during the execution of this function call. After using the error data, this memory must be freed by calling EapPeerFreeErrorMemory.

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 by using a function pointer to this API. This API must be implemented on the EAP method loaded by EAPHost, and must strictly comply with the syntax and parameter types that are specified in the documentation.

See Also

Reference

EAPHost Peer Method Configuration Functions