DeleteUrlCacheContainerW function (winineti.h)
Deletes a cache container (which contains cache entries) based on the specified name.
Syntax
BOOL DeleteUrlCacheContainerW(
LPCWSTR Name,
DWORD dwOptions
);
Parameters
Name
The name of the cache container to be deleted.
dwOptions
This parameter is reserved, and must be 0.
Return value
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.
Remarks
Note
The winineti.h header defines DeleteUrlCacheContainer 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 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winineti.h |
Library | Wininet.lib |
DLL | Wininet.dll |