Export (0) Print
Expand All

SENDCMDINPARAMS structure

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

Syntax


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 IDEREGS structure used to report the contents of the IDE controller registers.

bDriveNumber

The bDriveNumber member is opaque. Do not use it. The operating system ignores this member, because the physical drive that receives the request depends on the handle that the caller uses when making the request.

bReserved

Reserved.

dwReserved

Reserved.

bBuffer

Pointer to the input buffer.

Remarks

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.

Requirements

Header

Ntdddisk.h (include Ntdddisk.h)

See also

SMART_SEND_DRIVE_COMMAND
SMART_RCV_DRIVE_DATA
SENDCMDOUTPARAMS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft