MSDN Home >  MSDN Library >  System Support for Buses >  IDE Bus >  Reference >  IDE Bus Structures
 
System Support for Buses: Windows DDK

SENDCMDINPARAMS

The SENDCMDINPARAMS structure contains the input parameters for the SMART_SEND_DRIVE_COMMAND request.

typedef struct _SENDCMDINPARAMS {
  ULONG  cBufferSize;
  IDEREGS  irDriveRegs;
  UCHAR  bDriveNumber;
  UCHAR  bReserved[3];
  ULONG  dwReserved[4];
  UCHAR  bBuffer[1];
} SENDCMDINPARAMS, *PSENDCMDINPARAMS, *LPSENDCMDINPARAMS;

Members

cBufferSize
Contains the buffer size, in bytes.
irDriveRegs
Contains a IDREGS structure used to report the contents of the IDE controller registers.
bDriveNumber
Indicates the physical drive number to send command to (0,1,2, or 3).
bReserved
Reserved.
dwReserved
Reserved.
bBuffer
Pointer to the input buffer.

Headers

Declared in ntdddisk.h. Include ntdddisk.h.

Comments

The SMART_SEND_DRIVE_COMMAND is used to send a Self-Monitoring Analysis and Reporting Technology (SMART) commands to a device.

The SENDCMDINPARAMS structure is also used with the SMART_RCV_DRIVE_DATA request.

See Also

SMART_SEND_DRIVE_COMMAND, SMART_RCV_DRIVE_DATA, SENDCMDOUTPARAMS

 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility