Storage Query Property Test

Storage Query Property Test

Type: Automated Test

Overview

The Storage Query Property test verifies a storage adapter driver's implementation of IOCTL_STORAGE_QUERY_PROPERTY for both the StorageDeviceProperty and StorageAdapterProperty.

Details

The test is passed the instance path of the target test device. The test sends IOCTL_STORAGE_QUERY_PROPERTY(StorageAdapterProperty, PropertyExistsQuery), and the adapter must return success. The test then sends IOCTL_STORAGE_QUERY_PROEPRTY(StorageAdapterProperty, PropertyStandardQuery) and examines the fields of the returned STORAGE_ADAPTER_DESCRIPTOR. The same is done with a child device for StorageDeviceProperty, examining the STORAGE_DEVICE_DESCRIPTOR.

The bus type that is returned should match the bus type that is specified by the PCI class code, sub class code, and programming interface.

Run Time: 5 minutes
Log File: queryproperty.wtl
System Restart Required: No
Test Category: Storage Adapter
Supported operating systems for "DFW" logo testing:
Windows Vista
Windows Server 2003
Windows XP
Program:

Requirements

Software Requirements

The test tool runs on the following Windows operating systems:

  • Windows Vista
  • Windows Server 2003
  • Windows XP
  • Software components included with the device that is being tested.
  • Microsoft .NET Framework version 2.0 (installed automatically)

Hardware Requirements

  • Device to be tested
  • Computer that meets the minimum software requirements

Processor

  • x86
  • x64
  • Itanium

Command Syntax

 

Command option

Description

 

[WDKDeviceID] is the instance path of the device to test. This parameter is provided automatically when run in the Device Console window of DTM.

File Manifest

File

Location

QueryProperty.exe

…\tests\%ARCHITECTURE%\nttest\driverstest\storage\wdk

StorageDevices.dll

…\tests\%ARCHITECTURE%\nttest\driverstest\storage\wdk