CD_SENSE_DATA

This structure contains sense data.

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Cdioctl.h.

See Also

Block Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.