Share via


Storage Imports Test (LOGO)

This test verifies that a storage adapter driver follows the proper miniport architecture for its bus type. The tool also validates that the driver does not import functions from outside the port driver.

Test details

Associated requirements

Device.Storage.Controller.MiniportDriverModel

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows Server 2008 x64 Windows Server 2008 x86Windows 8.1 x64Windows 8.1 x86Windows Server 2012 R2

Expected run time

~2 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Storage Adapter or Controller Testing Overview.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

More Information

This test is started against a particular device node that is identified by that device node's device instance path. The test queries the interface of that device node for the bus type (by using IOCTL_STORAGE_QUERY_PROPERTY: StorageAdapterDescriptor.) The test determines the driver for the device node by checking the Service property of the device node. The test then determines the type of miniport architecture of the driver and obtains a list of imported functions.

The miniport must match the architecture model that is required for the device's bus type.

Start this test against a device from the Device Console window in DTM. Device Console fills in the test's WDKDeviceID parameter with the instance path of the device that you select. The device that you select should be a storage adapter and should be configured on the test client, with storage attached.

Parameters

Parameter Description

WDKDeviceID

The device instance ID.

 

Command syntax

Command option Description

StorImports /device "[WDKDeviceID]"

Runs the test against a device instance that is currently installed on the computer.

 

Note  

For command-line help for this test binary, type /h.

 

File list

File Location

link.exe

<[testbinroot]>\nttest\driverstest\storage\wdk\legacybinary\

mspdb80.dll

<[testbinroot]>\nttest\driverstest\storage\wdk\legacybinary\

storagedevices.dll

<[testbinroot]>\nttest\driverstest\storage\wdk\

StorImports.exe

<[testbinroot]>\nttest\driverstest\storage\wdk\

 

 

 

Send comments about this topic to Microsoft