Contents

getWriteCacheState

Reports the current write cache state of the device.

Declaration

#ifdef __LP64__
 virtual IOReturn getWriteCacheState(
 bool *enabled) = 0; 
#else /* !__LP64__ */
virtual IOReturn getWriteCacheState(
 bool *enabled); 
#endif 
/* !__LP64__ */

Parameters

  • enabled:

    Pointer to returned result. True indicates the write cache is enabled; False indicates the write cache is disabled.

Overview

Reports the current write cache state of the device. The write cache state is not guaranteed to persist across reboots and detaches.

See Also

Miscellaneous