SENDCMDOUTPARAMS structure (ntdddisk.h)

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.

Syntax

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[1]

Pointer to a buffer in which to store the data read from the drive.

Remarks

The SENDCMDOUTPARAMS structure is used with the SMART_SEND_DRIVE_COMMAND and SMART_RCV_DRIVE_DATA I/O control code requests. See the Remarks section of SENDCMDINPARAMS for details about these requests.

Requirements

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)

See also

SENDCMDINPARAMS