Share via


EapHostPeerEndSession (Compact 7)

3/12/2014

Terminates the current EAP authentication session between EAPHost and the calling supplicant, and clears data that is stored for the session.After this call the session is no longer valid.

Syntax

DWORD APIENTRY EapHostPeerEndSession(
  __in   EAP_SESSIONID sessionHandle,
  __out  EAP_ERROR** ppEapError
);

Parameters

  • sessionHandle
    A pointer to an EAP_SESSIONID structure that contains the unique handle for this EAP authentication session on the EAPHost server. This handle is returned in the pSessionId parameter in a previous call to EapHostPeerBeginSession.
  • ppEapError
    A pointer to the address of an EAP_ERROR structure. The address should be set to NULL before the code calls this function. If error data is available, a pointer to the address of an EAP_ERROR structure that contains any errors raised during the execution of this function call is received. After using the error data, free this memory by calling EapHostPeerFreeEapError.

See Also

Reference

EAPHost Supplicant Run-time Functions
EapHostPeerBeginSession
EapHostPeerClearConnection