Share via


DeleteCache (Compact 2013)

3/26/2014

This function deletes a cache. This frees all memory allocated to the cache.

Syntax

DWORD DeleteCache(
  DWORD dwCacheId 
); 

Parameters

  • dwCacheId
    [in] Cache ID value returned by the CreateCache function.

Return Value

ERROR_SUCCESS indicates success. ERROR_INVALID_PARAMETER indicates an invalid cache ID.

Link Library: Fsdmgr.lib.

Requirements

Header

fsdmgr.h

Library

Fsdmgr.lib

See Also

Reference

Disk Cache Manager Functions