EapMethodAuthenticatorBeginSession function (eapmethodauthenticatorapis.h)
Creates a new EAP authentication session on the server EAPHost.
EapMethodAuthenticatorBeginSession is a function prototype.
DWORD EapMethodAuthenticatorBeginSession( DWORD dwFlags, BYTE bInitialId, LPCWSTR pwszIdentity, const EapAttributes * const pAttributeArray, DWORD dwSizeofConnectionData, const BYTE * const pConnectionData, DWORD dwMaxSendPacketSize, EAP_SESSION_HANDLE *pSessionHandle, EAP_ERROR **ppEapError );
A combination of EAP flags that describe the EAP authentication session behavior.
A zero-terminated Unicode string that contains the identity of the user to authenticate.
Identity of the user being authenticated.
A pointer to an EapAttributes array structure that specifies the EAP attributes of the entity to authenticate.
Specifies the size in bytes of the data pointed to by pConnectionData. If pConnectionData is NULL, this member is zero.
Pointer to connection data received from the authentication protocol's configuration user interface.
Specifies the maximum size, in bytes, of an EAP packet sent during the session.
A pointer to an EAP_SESSION_HANDLE structure that contains the unique handle for this EAP authentication session on the EAPHost server.
Optionally receives a pointer to a pointer to an EAP_ERROR structure that contains any errors raised by EAPHost 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 EapMethodAuthenticatorFreeMemory.
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.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|