Partager via


CacheSync (Compact 2013)

3/28/2014

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

See Also

Reference

Kernel Functions