EapPeerProcessRequestPacket function

Processes a packet received by EAPHost from a supplicant.


DWORD WINAPI EapPeerProcessRequestPacket(
  _In_  EAP_SESSION_HANDLE  sessionHandle,
  _In_  DWORD               cbReceivedPacket,
  _In_  EapPacket           *pReceivedPacket,
  _Out_ EapPeerMethodOutput *pEapOutput,
  _Out_ EAP_ERROR           **ppEapError


sessionHandle [in]

A pointer to an EAP_SESSION_HANDLE structure that contains the unique handle for this EAP authentication session on the EAPHost server. This handle is returned in the pSessionHandle parameter in a previous call to EapPeerBeginSession.

cbReceivedPacket [in]

The size, in bytes, of the request packet specified in pReceivePacket.

pReceivedPacket [in]

A pointer to an EapPacket structure that contains the request packet to process.

pEapOutput [out]

A pointer to an EapPeerMethodOutput structure that contains the output of the packet process operation.

ppEapError [out]

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


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 conform to the syntax and parameter types specified in the documentation.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]



See also

EAPHost Peer Method Run-Time Functions



Community Additions