EapPeerSetResponseAttributes function (eapmethodpeerapis.h)

Provides an updated array of EAP response attributes to the EAP method.

Syntax

DWORD EapPeerSetResponseAttributes(
  [in]  EAP_SESSION_HANDLE  sessionHandle,
  [in]  EapAttributes       *pAttribs,
  [out] EapPeerMethodOutput *pEapOutput,
  [out] EAP_ERROR           **ppEapError
);

Parameters

[in] 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.

[in] pAttribs

A pointer to an EAP_ATTRIBUTES structure that contains an array of new EAP authentication response attributes to set for the supplicant on EAPHost.

[out] pEapOutput

A pointer to an EapPeerMethodOutput structure that specifies the suggested action the supplicant should take as a response to the updated attributes.

[out] ppEapError

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.

Return value

None

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header eapmethodpeerapis.h

See also

EAPHost Peer Method Run-Time Functions

EapPeerGetResponseAttributes