Frees EAP_ERROR structures returned by EAPHost run-time APIs.
If any of the following run-time APIs are called and an EAP_ERROR is returned, EapHostPeerFreeEapError must be called to free the memory:
Note EAPHost run-time APIs are defined in eappapis.h. EAPHost configuration APIs are defined in EapHostPeerConfigApis.h.
- ppEapError [in]
A pointer to an EAP_ERROR structure that contains the error data to free.
This function does not return a value.
To release all memory allocated by EAPHost for a authentication session, the caller must call EapHostPeerEndSession. To release all memory allocated by EAPHost for a connection, the caller must call the EapHostPeerClearConnection function.
EapHostPeerFreeEapError is not thread safe. Any given EAP_ERROR must be freed on one thread only. Do not call EapHostPeerFreeEapError twice on the same EAP_ERROR structure.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|
- EAPHost Supplicant Configuration Functions
- EAPHost Supplicant Frequently Asked Questions