다음을 통해 공유


InvalidateCache (Windows CE 5.0)

Send Feedback

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.

DWORDInvalidateCache(DWORDdwCacheId, PSECTOR_LIST_ENTRYpSectorList,DWORD dwNumEntries,DWORD dwFlags);

Parameters

  • dwCacheId
    [in] Cache ID value returned by CreateCache.
  • 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 Values

Returns ERROR_SUCCESS on success.

Returns a Microsoft Win32 error code on failure.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Fsdmgr.h.
Link Library: Fsdmgr.lib.

See Also

Cache Manager Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.