EapHostPeerGetMethods function (eaphostpeerconfigapis.h)

Enumerates all EAP methods installed and available for use, including legacy EAP Methods.

Syntax

DWORD EapHostPeerGetMethods(
  [out] EAP_METHOD_INFO_ARRAY *pEapMethodInfoArray,
  [out] EAP_ERROR             **ppEapError
);

Parameters

[out] pEapMethodInfoArray

A pointer to an EAP_METHOD_INFO_ARRAY structure for installed EAP methods. The caller should free the inner pointers using the function EapHostPeerFreeMemory, starting at the innermost pointer.

[out] ppEapError

A pointer to a pointer to an EAP_ERROR structure that contains any errors raised by EAPHost during the execution of this function call. After consuming the error data, this memory must be freed by calling EapHostPeerFreeErrorMemory.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header eaphostpeerconfigapis.h
Library Eappcfg.lib
DLL Eappcfg.dll

See also

EAPHost Supplicant Configuration Functions