Platform SDK: RAS/Routing and RAS

RasFreeEapUserIdentity

Use the RasFreeEapUserIdentity function to free the memory buffer returned by RasGetEapUserIdentity.

DWORD RasFreeEapUserIdentity(
  LPRASEAPUSERIDENTITY pRasEapUserIdentity  
                               // pointer to memory to free
);

Parameters

pRasEapUserIdentity
Pointer to the RASEAPUSERIDENTITY structure returned by the RasGetEapUserIdenity function.

Return Values

If the function succeeds, the return value is NO_ERROR.

Otherwise, the function returns one of the following error codes.

Remarks

RasFreeEapUserIdentity may be called with the pRasEapUserIdentity parameter equal to NULL.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Ras.h.
  Library: Use Rasapi32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows 2000.

See Also

RASEAPUSERIDENTITY, RasGetEapUserIdentity