IOBlockStorageDevice.h |
Includes: |
This header contains the IOBlockStorageDevice class definition.
A generic block storage device abstraction.
The name of the IOBlockStorageDevice class.
A character string used for nub matching.
The name of the property tested for nub type matching by the generic block storage driver.
The name of the property used to get or set the write cache state of the block storage device.
The message ID which indicates that the media parameters, such as the highest valid block for the device, have changed.
The message ID which indicates that the media state has changed.
kIOBlockStorageDeviceClass |
The name of the IOBlockStorageDevice class.
#define kIOBlockStorageDeviceClass "IOBlockStorageDevice"
kIOBlockStorageDeviceTypeGeneric |
A character string used for nub matching.
#define kIOBlockStorageDeviceTypeGeneric "Generic"
kIOBlockStorageDeviceTypeKey |
The name of the property tested for nub type matching by the generic block storage driver.
#define kIOBlockStorageDeviceTypeKey "device-type"
kIOBlockStorageDeviceWriteCacheStateKey |
The name of the property used to get or set the write cache state of the block storage device.
#define kIOBlockStorageDeviceWriteCacheStateKey "WriteCacheState"
kIOMessageMediaParametersHaveChanged |
The message ID which indicates that the media parameters, such as the highest valid block for the device, have changed.
#define kIOMessageMediaParametersHaveChanged iokit_family_msg(sub_iokit_block_storage, 2)
The message is passed to all clients of the IOBlockStorageDevice via the message() method.
kIOMessageMediaStateHasChanged |
The message ID which indicates that the media state has changed.
#define kIOMessageMediaStateHasChanged iokit_family_msg(sub_iokit_block_storage, 1)
The message is passed to all clients of the IOBlockStorageDevice via the message() method. The argument that is passed along with this message is an IOMediaState value.
Devices that aren't capable of detecting media state changes indicate this in the reportPollRequirements() method.
Last Updated: 2010-07-29