Share via


EapPeerInitialize (Compact 2013)

3/26/2014

Initializes an EAP peer method for EAPHost.

Syntax

DWORD WINAPI EapPeerInitialize(
  __out  EAP_ERROR** ppEapError
);

Parameters

  • ppEapError
    A pointer to a pointer to 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 passing a pointer to EapPeerFreeErrorMemory.

Remarks

An EAP method is a DLL that implements and exports the EAP Peer Method APIs. Example methods include MS-PEAPv0 and then later, MS-EAP-TLS, and MS-CHAPv2. You can also create and implement custom EAP methods, also.

The EAP method libraries together with EAPHOST.dll comprise the "EAPHost". The host DLL manages the libraries and allows supplicants (EAP clients) to authenticate against them.

Each API is handled as a function pointer by EAPHost, who calls them if they comply with the specific signatures and calling conventions specified in this documentation. These function pointers are obtained when EAPHost calls EapPeerGetInfo.

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 Run-Time Functions