Partager via


EapPeerInvokeConfigUI (Compact 7)

3/12/2014

This function raises the EAP method specific connection configuration user interface dialog on the client.

Syntax

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
);

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 connection configuration user interface dialog.
  • dwFlags
    A combination of EAP Method Flags that describe the EAP authentication session behavior.
  • dwSizeOfConnectionDataIn
    Specifies the size, in bytes, of the pConnectionDataIn buffer.
  • pConnectionDataIn
    A pointer to the connection data that is specific to this authentication that is 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
    Receives a pointer to the size, in bytes, of the ppConnectionDataOut parameter.
  • ppConnectionDataOut
    Receives a pointer to a pointer that contains a byte buffer with the user-configured connection data.
  • 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 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 comply with the syntax and parameter types that are specified in the documentation.

See Also

Reference

EAPHost Peer Method Configuration Functions