EapMethodAuthenticatorSendPacket function

Obtains an authentication packet from the EAP authenticator method to send to the supplicant.

EapMethodAuthenticatorSendPacket is a function prototype.

Syntax


DWORD EapMethodAuthenticatorSendPacket(
  _In_    EAP_SESSION_HANDLE             sessionHandle,
  _In_    BYTE                           bPacketId,
  _Inout_ DWORD                          *pcbSendPacket,
  _Out_   EapPacket                      *pSendPacket,
  _Out_   EAP_AUTHENTICATOR_SEND_TIMEOUT *pTimeout,
  _Out_   EAP_ERROR                      **ppEapError
);

Parameters

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 EapMethodAuthenticatorBeginSession.

bPacketId [in]

Specifies a numeric ID value for the packet to send.

pcbSendPacket [in, out]

Specifies the maximum size, in bytes, of the packet to send. On return, this parameter receives the size, in bytes, of the packet returned in pEapPacket.

pSendPacket [out]

A pointer to an EapPacket structure that contains the packet to send to the supplicant.

pTimeout [out]

A pointer to an EAP_AUTHENTICATOR_SEND_TIMEOUT enumeration that specifies the timeout for the packet.

ppEapError [out]

A pointer to the address of 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 passing a pointer to the error data to EapMethodAuthenticatorFreeErrorMemory.

Remarks

This call is performed by a authenticator-based EAPHost using a function pointer to this API. This API must be implemented on the EAP authenticator method loaded by EAPHost, and must strictly conform to the syntax and parameter types specified in the documentation.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Eapmethodauthenticatorapis.h

See also

EapMethodAuthenticatorBeginSession
EAPHost Authenticator Method Functions

 

 

Community Additions

ADD
Show: