IOMedia.h



#defines

kIOMediaContent

kIOMediaContent is a property of IOMedia objects. It is an OSString.

#define kIOMediaContent "Content"

The kIOMediaContent property contains a description of the media's contents. The description is the same as the hint at the time of the object's creation, but it is possible that the description be overrided by a client (which has probed the media and identified the content correctly) of the media object. It is more accurate than the hint for this reason. The string is formed in the likeness of Apple's "Apple_HFS" strings.


kIOMediaContentHint

kIOMediaContentHint is a property of IOMedia objects. It is an OSString.

#define kIOMediaContentHint "Content Hint"

The kIOMediaContentHint property contains a hint of the media's contents. The hint is set at the time of the object's creation, should the creator have a clue as to what it may contain. The hint string does not change for the lifetime of the object and is formed in the likeness of Apple's "Apple_HFS" strings.


kIOMediaContentMask

kIOMediaContentMask is a property of IOMedia clients. It is an OSString.

#define kIOMediaContentMask "Content Mask"

The kIOMediaContentMask property must exist in all IOMedia clients that drive new content (that is, produce new media objects). When the client matches on the provider media, the value of the client's kIOMediaContentMask property is used to replace the provider's kIOMediaContent property.


kIOMediaEjectable

kIOMediaEjectable is a property of IOMedia objects. It is an OSBoolean.

#define kIOMediaEjectable "Ejectable"

The kIOMediaEjectable property describes whether the media is ejectable.


kIOMediaLeaf

kIOMediaLeaf is a property of IOMedia objects. It is an OSBoolean.

#define kIOMediaLeaf "Leaf"

The kIOMediaLeaf property describes whether the media is a leaf, that is, it is the deepest media object in this branch of the I/O Kit registry.


kIOMediaSize

kIOMediaSize is a property of IOMedia objects. It is an OSNumber.

#define kIOMediaSize "Size"

The kIOMediaSize property describes the total length of the media in bytes.


kIOMediaWhole

kIOMediaWhole is a property of IOMedia objects. Is it an OSBoolean.

#define kIOMediaWhole "Whole"

The kIOMediaWhole property describes whether the media is whole, that is, it represents the whole disk (the physical disk, or a virtual replica thereof).


kIOMediaWritable

kIOMediaWritable is a property of IOMedia objects. It is an OSBoolean.

#define kIOMediaWritable "Writable"

The kIOMediaWritable property describes whether the media is writable.


© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)