Export (0) Print
Expand All

SMART_GET_VERSION control code

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

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

Output Parameters

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.

Requirements

Version

Supported in Microsoft Windows 2000 and later operating systems.

Header

Ntdddisk.h (include Ntdddisk.h)

See also

GETVERSIONINPARAMS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft