EapHostPeerSetUIContext function (eappapis.h)
Provides a new or updated user interface context to the EAP peer method loaded on EAPHost after the UI has been raised. For more information about raising the UI, see EapHostPeerGetUIContext.
EapHostPeerSetUIContext sets the UI context data that was received from a call to EapHostPeerInvokeInteractiveUI.
DWORD EapHostPeerSetUIContext( EAP_SESSIONID sessionHandle, DWORD dwSizeOfUIContextData, const BYTE * const pUIContextData, EapHostPeerResponseAction *pEapOutput, EAP_ERROR **ppEapError );
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.
The size, in bytes, of the user interface context data buffer provided in pUIContextData.
A pointer to a byte buffer that contains the new supplicant UI context data to be set on EAPHost. The data is returned from the EapHostPeerInvokeInteractiveUI OUT parameter.
A pointer to an EapHostPeerResponseAction enumeration value that specifies the action code for the next step the supplicant must take as a response.
A pointer to the address of an EAP_ERROR structure. The address should be set to NULL before calling 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.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|