Partager via


InvalidateCache (Windows Embedded CE 6.0)

1/6/2010

This function invalidates the cached sectors in a sector list. Sectors that are invalidated are not committed to disk first, even if they are dirty.

Syntax

DWORD InvalidateCache(
  DWORD dwCacheId, 
  PSECTOR_LIST_ENTRY pSectorList,
  DWORD dwNumEntries,
  DWORD dwFlags
); 

Parameters

  • dwCacheId
    [in] Cache ID value returned by the CreateCache function.
  • pSectorList
    [in] Pointer to a sector list describing ranges of sectors to invalidate.
  • dwNumEntries
    [in] Number of entries in the sector list.
  • dwFlags
    Not used.

Return Value

ERROR_SUCCESS indicates success. A Microsoft Win32 error code indicates failure.

Requirements

Header fsdmgr.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Disk Cache Manager Functions