MSDN Home >  MSDN Library >  Storage Devices >  Reference >  I/O Requests for Mass Storage Drivers >  Disk I/O Control Codes
 
Storage Devices: Windows DDK

SMART_GET_VERSION

Operation

Returns version information, a capabilities mask, and a bitmask for the device. This IOCTL must be handled by drivers that support Self-Monitoring Analysis and Reporting Technology (SMART).

Input

Parameters.DeviceIoControl.OutputBufferLength indicates the size, in bytes, of the buffer, which must be >= sizeof(GETVERSIONINPARAMS).

Output

The driver returns the information to the buffer at Irp->AssociatedIrp.SystemBuffer.

I/O Status Block

The driver sets the Information field to sizeof(GETVERSIONINPARAMS) when it sets the Status field to STATUS_SUCCESS. Otherwise, the driver sets the Information field to zero and sets the Status field to possibly STATUS_INVALID_PARAMETER.

Headers

Defined in ntdddisk.h. Include ntdddisk.h.

See Also

GETVERSIONINPARAMS

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