Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Storage Devices
Reference
 SMART_GET_VERSION
Windows Driver Kit: Storage Devices
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.

Requirements

Versions: Supported in Microsoft Windows 2000 and later operating systems.

Headers: Defined in Ntdddisk.h. Include Ntdddisk.h.

See Also

GETVERSIONINPARAMS


Send feedback on this topic
Built on November 19, 2009
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker