IWDTFSimpleIOEx2 interface

Defines operations for a simple synchronous I/O functionality test.

Members

The IWDTFSimpleIOEx2 interface inherits from IWDTFAction2. IWDTFSimpleIOEx2 also has these types of members:

Methods

The IWDTFSimpleIOEx2 interface has these methods.

MethodDescription
Close

Closes the device.

Open

Opens the device.

PerformIO

Performs a small amount of simple I/O to the device.

 

WDTF ProgID

The WDTF ProgId for the IWDTFSimpleIOEx2 interface is "SimpleIOEx". You must specify the WDTF ProgId when you call the HasInterface, GetInterface, GetInterfaces, and GetInterfacesIfExist methods.


Set SimpleIO = Device.GetInterface("SimpleIOEx")

Remarks

The IWDTFSimpleIOEx2 action interface acts on an instance of the IWDTFTarget2 interface that is retrieved by querying the device depot. You can retrieve a target-specific implementation of an action interface by calling the IWDTFTarget2::GetInterface method with the desired WDTF ProgID.

For an asynchronous interface for this same underlying functionality, see IWDTFSimpleIOStressAction2.

The IWDTFSimpleIOEx2 action interface is compatible with the following device classes:

  • CD-ROM drives (class =CDROM)

  • Display adapters (class = Display)

  • Multimedia devices (class = Media)

  • Network adapters (class = Net)

  • Storage volumes (class = Volume)

For more information about device classes, see Device Setup Classes.

To learn more about the specifics of how the IWDTFSimpleIOEx2 action interface works, or to support additional device classes, try to implement a target-specific version of it for your device class. For more information about how to implement such a version, see Windows Device Testing Framework Design Guide.

Note  The implementations of this interface are not thread-safe.

Requirements

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Namespace

Microsoft.WDTF

Assembly

WDTFInterfaces.Interop.dll

Header

WDTFInterfaces.h

IDL

WDTFInterfaces.idl

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft