CacheSync (Windows CE 5.0)

Send Feedback

This function flushes the cache.

VOID CacheSync(intflags );

Parameters

  • flags
    [in] The following table shows the values for the flags parameter.
    Value Description
    CACHE_SYNC_DISCARD Writes back and discards all cached data.
    CACHE_SYNC_INSTRUCTIONS Discards all cached instructions.
    CACHE_SYNC_WRITEBACK Writes back but does not discard cached data.

Return Values

None.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

See Also

OEMFlushCache | Cache Flush Routines | Memory Initialization

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.