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

SENDCMDOUTPARAMS

The SENDCMDOUTPARAMS structure is used in conjunction with the SMART_SEND_DRIVE_COMMAND request to retrieve data returned by a Self-Monitoring Analysis and Reporting Technology (SMART) command.

typedef struct _SENDCMDOUTPARAMS {
  ULONG  cBufferSize;
  DRIVERSTATUS  DriverStatus;
  UCHAR  bBuffer[1];
} SENDCMDOUTPARAMS, *PSENDCMDOUTPARAMS, *LPSENDCMDOUTPARAMS;

Members

cBufferSize
Contains the size in bytes of the buffer pointed to by bBuffer.
DriverStatus
Contains a DRIVERSTATUS structure that indicates the driver status.
bBuffer
Pointer to a buffer of arbitrary length in which to store the data read from the drive.

Headers

Declared in ntdddisk.h. Include ntdddisk.h.

Comments

The SMART_SEND_DRIVE_COMMAND is used to send SMART commands to a device.

The SENDCMDOUTPARAMS structure is also used with the SMART_RCV_DRIVE_DATA request.

See Also

SMART_SEND_DRIVE_COMMAND, SMART_RCV_DRIVE_DATA, SENDCMDINPARAMS

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