IMAPI_READ_TRACK_ADDRESS_TYPE enumeration (imapi2.h)

Defines values that indicate how to interpret track addresses for the current disc profile of a randomly-writable, hardware-defect-managed media type.

Syntax

typedef enum _IMAPI_READ_TRACK_ADDRESS_TYPE {
  IMAPI_READ_TRACK_ADDRESS_TYPE_LBA = 0,
  IMAPI_READ_TRACK_ADDRESS_TYPE_TRACK = 1,
  IMAPI_READ_TRACK_ADDRESS_TYPE_SESSION = 2
} IMAPI_READ_TRACK_ADDRESS_TYPE, *PIMAPI_READ_TRACK_ADDRESS_TYPE;

Constants

 
IMAPI_READ_TRACK_ADDRESS_TYPE_LBA
Value: 0
Interpret the address field as an LBA (sector address). The returned data should reflect the information for the track which contains the specified LBA.
IMAPI_READ_TRACK_ADDRESS_TYPE_TRACK
Value: 1
Interpret the address field as a track number. The returned data should reflect the information for the specified track. This version of the command has the greatest compatibility with legacy devices.
IMAPI_READ_TRACK_ADDRESS_TYPE_SESSION
Value: 2
Interpret the address field as a session number. The returned data should reflect the information for the first track which exists in the specified session. Note that not all drives support this method.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header imapi2.h