IMAPI_MODE_PAGE_TYPE enumeration

Defines values for the mode pages that are supported by CD and DVD devices.

Syntax


typedef enum _IMAPI_MODE_PAGE_TYPE { 
  IMAPI_MODE_PAGE_TYPE_READ_WRITE_ERROR_RECOVERY  = 0x01,
  IMAPI_MODE_PAGE_TYPE_MRW                        = 0x03,
  IMAPI_MODE_PAGE_TYPE_WRITE_PARAMETERS           = 0x05,
  IMAPI_MODE_PAGE_TYPE_CACHING                    = 0x08,
  IMAPI_MODE_PAGE_TYPE_INFORMATIONAL_EXCEPTIONS   = 0x1C,
  IMAPI_MODE_PAGE_TYPE_TIMEOUT_AND_PROTECT        = 0x1D,
  IMAPI_MODE_PAGE_TYPE_POWER_CONDITION            = 0x1A,
  IMAPI_MODE_PAGE_TYPE_LEGACY_CAPABILITIES        = 0x2A
} IMAPI_MODE_PAGE_TYPE, *PIMAPI_MODE_PAGE_TYPE;

Constants

IMAPI_MODE_PAGE_TYPE_READ_WRITE_ERROR_RECOVERY

The mode page specifies the error recovery parameters the drive uses during any command that performs a data read or write operation from the media.

IMAPI_MODE_PAGE_TYPE_MRW

The mode page provides a method by which the host may control the special features of a MRW CD-RW Drive.

IMAPI_MODE_PAGE_TYPE_WRITE_PARAMETERS

The mode page provides parameters that are often needed in the execution of commands that write to the media.

IMAPI_MODE_PAGE_TYPE_CACHING

The mode page contains parameters to enable or disable caching during read or write operations.

IMAPI_MODE_PAGE_TYPE_INFORMATIONAL_EXCEPTIONS

The mode page contains parameters for exception reporting mechanisms that result in specific sense code errors when failures are predicted. This mode page is related to the S.M.A.R.T. feature.

IMAPI_MODE_PAGE_TYPE_TIMEOUT_AND_PROTECT

The mode page contains command time-out values that are suggested by the device.

IMAPI_MODE_PAGE_TYPE_POWER_CONDITION

The mode page contains power management settings for the drive. The parameters define how long the logical unit delays before changing its internal power state.

IMAPI_MODE_PAGE_TYPE_LEGACY_CAPABILITIES

The mode page contains legacy device capabilities. These are superseded by the feature pages returned through the GetConfiguration command.

Remarks

Note that the range of mode page type values is 0x0000 to 0xFFFF. This enumeration contains those features defined in the Multmedia Commands - 5 (MMC) specification. For a complete definition of each feature, see Mode Parameters for Multi-Media Devices in the latest release of the MMC specification at ftp://ftp.t10.org/t10/drafts/mmc5.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

IDL

Imapi2.idl

See also

IDiscRecorder2Ex::GetModePage
IDiscRecorder2Ex::GetSupportedModePages
IDiscRecorder2::get_SupportedModePages

 

 

Community Additions

ADD
Show: