IDSF Interface

The IDSF interface is the dual interface on the top-level object in the DSF object model and is used to access many features of DSF.

Members

The IDSF interface inherits from the IDispatch interface. IDSF also defines the following types of members:

  • Methods
  • Properties

Methods

The IDSF interface defines the following methods.

Method Description
get_Devices

Returns the root collection of simulated devices.

get_Log

Returns a DSFLog object that you can use to log all simulator events by using Microsoft Windows event tracing.

get_Version

Returns the DSF version object (IDSFVersion).

CreateDevice

Creates a simulated bus device.

Note  CreateDevice is not currently implemented in this version of DSF.

WriteState

Write the driver public state to storage.

ReadState

Reads the driver public state from storage.

DeleteState

Deletes any public state that has been stored.

 

Properties

The IDSF interface defines the following properties. The preceding table includes access methods for these properties.

Property Access type Description

Devices

Read-only

Returns the root collection of simulated devices.

Log

Read-only

Returns a DSFLog object that you can use to log all simulator events by using Microsoft Windows event tracing.

Version

Read-only

Returns the DSF version object (IDSFVersion).

 

Requirements

Header

DSFif.h

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010