# MI_IsCacheLoading

## Syntax

  `#include <nitro/mi.h>
  void MI_IsCacheLoading(const MICache *cache);`

## Arguments

cache | Pointer to the `MICache` structure. The cache must have been initialized using `MI_InitCache()`.

## Return Values

Returns TRUE if there is one or more pages in the load-wait state; otherwise, returns FALSE.

## Description

Determines whether a page that has entered the "waiting to load" state as a result of a call to `MI_ReadCache()` exists.
Pages that are in the "waiting to load" state can be switched to the "loaded" state by calling `MI_LoadCache()`.

This feature is a utility that enables efficient read access to devices. For more information, see the reference for the `MICache` structure.

## See Also

`MI_ReadCache MI_LoadCache MI_IsCacheLoading
MICache`

## Revision History

2007/05/16 Initial version.

CONFIDENTIAL