SslEmptyCacheA function (schannel.h)

Removes the specified string from the Schannel cache.

This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Schannel.dll.

Syntax

BOOL SslEmptyCacheA(
  [in] LPSTR pszTargetName,
  [in] DWORD dwFlags
);

Parameters

[in] pszTargetName

A pointer to a null-terminated string that specifies the entry to remove from the cache. If the value of this parameter is NULL, all entries are removed from the cache.

[in] dwFlags

This parameter is not used.

Return value

Returns nonzero if the specified entries are removed from the Schannel cache or zero otherwise.

Remarks

Note

The schannel.h header defines SslEmptyCache as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header schannel.h
DLL Schannel.dll