IEAPProviderConfig::ServerInvokeConfigUI method

The system calls the ServerInvokeConfigUI method to invoke the configuration user interface for EAP authentication between a remote access client and server.

Syntax

HRESULT ServerInvokeConfigUI(
  DWORD     dwEapTypeId,
  ULONG_PTR uConnectionParam,
  HWND      hWnd,
  ULONG_PTR uReserved1,
  ULONG_PTR uReserved2
);

Parameters

dwEapTypeId

Specifies the EAP for which to invoke the configuration user interface.

uConnectionParam

Specifies the configuration session for which to invoke the user interface.

hWnd

Handle to the parent window for the configuration user interface.

uReserved1

This parameter is reserved and should be zero.

uReserved2

This parameter is reserved and should be zero.

Return value

If the function succeeds, the return value should be S_OK.

If the function fails, the return value should be one of the following codes.

Return code Description
E_FAIL
Non-specific error.
E_INVALIDARG
One of the arguments is invalid.
E_OUTOFMEMORY
The method failed because it was unable to allocate required memory.
E_UNEXPECTED
An unexpected error occurred.

Remarks

The DLL that implements IEAPProviderConfig may support more than one authentication protocol. The dwEapTypeId parameter specifies for which authentication protocol to invoke the configuration user interface.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header rrascfg.h

See also

EAP Interfaces

Extensible Authentication Protocol Reference

IEAPProviderConfig

IEAPProviderConfig::Initialize

IEAPProviderConfig::RouterInvokeConfigUI

IEAPProviderConfig::RouterInvokeCredentialsUI

IEAPProviderConfig::Uninitialize