Share via


CD_SENSE_DATA (Windows Embedded CE 6.0)

1/6/2010

This structure contains sense data.

Syntax

typedef struct _CD_SENSE_DATA {
  BYTE sd_ErrCode; 
  BYTE sd_SegNum; 
  BYTE sd_ILI_Key; 
  BYTE sd_Info[4]; 
  BYTE sd_Length; 
  BYTE sd_CmdInfo[4]; 
  BYTE sd_SenseCode; 
  BYTE sd_Qualifier; 
  BYTE sd_UnitCode; 
  BYTE sd_Key1; 
  BYTE sd_Key2; 
  BYTE sd_Key3;   
} CD_SENSE_DATA, *PCD_SENSE_DATA;

Members

  • sd_ErrCode
    Error code.
  • sd_SegNum
    Segment number.
  • sd_ILI_Key
    The lower nibble contains the sense key.
  • sd_Info
    Information sent directly from the drive.
  • sd_Length
    Additional data length.
  • sd_CmdInfo
    Command-specific information. This gives additional information from the previous command that the drive sent.
  • sd_SenseCode
    Additional information based on the information in the sense key.
  • sd_Qualifier
    Extended sense code.
  • sd_UnitCode
    Not used.
  • sd_Key1
    Not used.
  • sd_Key2
    Not used.
  • sd_Key3
    Not used.

Remarks

This structure directly corresponds to the sense data returned by the Advanced Technology Attachment (ATA) packet interface driver. For more information, see the Small Computer System Interface (SCSI) Specification.

Requirements

Header cdioctl.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Block Driver Structures

Other Resources

Block Drivers