|
ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IODVDMedia |
| Inherits from: | |
| Declared In: |
The IODVDMedia class is a random-access disk device abstraction for DVDs.
The IODVDMedia class is a random-access disk device abstraction for DVDs.
getSpeed |
public
virtual IOReturn getSpeed( UInt16 *kilobytesPerSecond);
kilobytesPerSecondReturns the current speed used for data transfers, in kB/s.
kDVDSpeedMin specifies the minimum speed for all DVD media (1X). kDVDSpeedMax specifies the maximum speed supported in hardware.
Returns the status of the operation.
Get the current speed used for data transfers.
readDiscInfo |
public
virtual IOReturn readDiscInfo( IOMemoryDescriptor *buffer, UInt16 *actualByteCount );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
actualByteCountReturns the actual number of bytes transferred in the data transfer.
Returns the status of the data transfer.
Issue an MMC READ DISC INFORMATION command.
readRZoneInfo |
public
virtual IOReturn readRZoneInfo( IOMemoryDescriptor *buffer, UInt32 address, DVDRZoneInfoAddressType addressType, UInt16 *actualByteCount );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
addressAs documented by MMC.
addressTypeAs documented by MMC.
actualByteCountReturns the actual number of bytes transferred in the data transfer.
Returns the status of the data transfer.
Issue an MMC READ RZONE INFORMATION (READ TRACK INFORMATION) command.
readStructure |
public
virtual IOReturn readStructure( IOMemoryDescriptor *buffer, const DVDStructureFormat format, const UInt32 address, const UInt8 layer, const UInt8 grantID );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
formatAs documented by MMC.
addressAs documented by MMC.
layerAs documented by MMC.
grantIDAs documented by MMC.
Returns the status of the data transfer.
Issue an MMC READ DVD STRUCTURE command.
reportKey |
public
virtual IOReturn reportKey( IOMemoryDescriptor *buffer, const DVDKeyClass keyClass, const UInt32 address, const UInt8 grantID, const DVDKeyFormat format );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer. Pass null for the kDVDKeyFormatAGID_Invalidate format case.
keyClassAs documented by MMC.
addressAs documented by MMC.
grantIDAs documented by MMC.
formatAs documented by MMC.
Returns the status of the data transfer.
Issue an MMC REPORT KEY command.
sendKey |
public
virtual IOReturn sendKey( IOMemoryDescriptor *buffer, const DVDKeyClass keyClass, const UInt8 grantID, const DVDKeyFormat format );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer. Pass null for the kDVDKeyFormatAGID_Invalidate format case.
keyClassAs documented by MMC.
grantIDAs documented by MMC.
formatAs documented by MMC.
Returns the status of the data transfer.
Issue an MMC SEND KEY command.
setSpeed |
public
virtual IOReturn setSpeed( UInt16 kilobytesPerSecond);
kilobytesPerSecondSpeed to be used for data transfers, in kB/s.
kDVDSpeedMin specifies the minimum speed for all DVD media (1X). kDVDSpeedMax specifies the maximum speed supported in hardware.
Returns the status of the operation.
Set the speed to be used for data transfers.
|
Last Updated: 2009-02-23