RasEapFreeConfigUIData

[This is preliminary documentation and subject to change.]

The RAS Connection Manager will call RasEapFreeConfigUIData to free the memory buffer returned by the authentication protocol's configuration user interface.

DWORD  RasEapFreeConfigData ( 
  DWORD dwEapTypeId,        // identifies the protocol 
  PBYTE pConnectionData,    // pointer to config data 
  PBYTE pUserData           // pointer to config data 
);
 

Parameters

dwEapTypeId
Identifies the authentication protocol of the configuration UI that allocated the memory that RasEapFreeConfigUIData should now free.
pConnectionData
Pointer to configuration data from the RasEapInvokeConfigUI function.
pUserData
Pointer to configuration data from the RasEapInvokeConfigUI function.

Return Values

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value should be an appropriate error code from winerror.h, raserror.h, or mprerror.h.

Remarks

The DLL that implements RasEapInvokeConfigUI and RasEapFreeConfigUIData may support more than one authentication protocol. The dwEapTypeId parameter specifies the authentication protocol for which the configuration data was originally obtained.

See Also

RasEapFreeInteractiveUIData, RasEapInvokeConfigUI