The CleanupCredentialCache function is implemented by certain Security Support Providers (SSP) to flush the SSP credential cache.
This function has no parameters.
TRUE if the function succeeds; otherwise, FALSE.
The CleanupCredentialCache function is implemented by the following SSPs:
The implementation of CleanupCredentialCache by these SSPs always returns TRUE.
Before attempting to obtain a module handle to export CleanupCredentialCache, the application must verify that the SSP that has been loaded is one of the known SSPs implementing the CleanupCredentialCache function.
In order to flush the SSP credential cache, the application must obtain a module handle for the SSP by calling the GetModuleHandle function. After obtaining the module, the application should export the CleanupCredentialCache function implemented by the SSP by calling the GetProcAddress function, passing the module returned by GetModuleHandle and CleanupCredentialCache as input parameters.
Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.
Minimum supported client
|Windows 2000 Professional|
Minimum supported server
|Windows 2000 Server|