Share via


CacheSync (Windows Embedded CE 6.0)

1/6/2010

This function flushes the cache.

Syntax

VOID CacheSync(
  int flags
);

Parameters

  • flags
    [in] The following table shows possible values.

    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 Value

None.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Kernel Functions

Other Resources

OEMFlushCache
Cache Flush Routines
Memory Initialization