Compartilhar via


EapPeerProcessRequestPacket (Compact 2013)

3/26/2014

Processes a packet received by EAPHost from a supplicant.

Syntax

DWORD WINAPI EapPeerProcessRequestPacket(
  __in   EAP_SESSION_HANDLE sessionHandle,
  __in   DWORD cbReceivedPacket,
  __in   EapPacket* pReceivedPacket,
  __out  EapPeerMethodOutput* pEapOutput,
  __out  EAP_ERROR** ppEapError
);

Parameters

  • sessionHandle
    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
    The size, in bytes, of the request packet specified in pReceivePacket.
  • pReceivedPacket
    A pointer to an EapPacket structure that contains the request packet to process.
  • pEapOutput
    A pointer to an EapPeerMethodOutput structure that contains the output of the packet process operation.
  • 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 calling EapPeerFreeErrorMemory.

Remarks

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