FreeUrlCacheSpaceW function (winineti.h)
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Frees space in the cache.
BOOLAPI FreeUrlCacheSpaceW( LPCWSTR lpszCachePath, DWORD dwSize, DWORD dwFilter );
The path for the cache.
The percentage of the cache to free (in the range 1 to 100, inclusive).
This parameter is reserved, and must be 0.
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.
The winineti.h header defines FreeUrlCacheSpace as an alias which 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 not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|