Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

It is called by File System Disk Manager for disk cache.

Syntax

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

Parameters

dwCacheId

[in] Cache ID returned by the FSDMGR_CreateCachefunction.

pSectorList

[out] 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 Windows error code indicates failure.

Requirements

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

See Also

Reference

FSD Functions

Other Resources