PublishedDriverPackage interface

The PublishedDriverPackage interface provides information about DriverPackage objects that were published to the Microsoft Windows Device Testing Framework (WDTF) driver package collection. Items within this collection are referenced by using the IDriverPackageCollection interface.

Members

The PublishedDriverPackage interface inherits from IAction. PublishedDriverPackage also has the following types of members:

  • Properties

Properties

The PublishedDriverPackage interface has the following properties.

Property Description

Date

The date of this published driver package.

Inf

The name of the INF file that defines the published driver package.

Version

The version of the published driver package, which might be different than the version of individual drivers within the driver package.

 

Remarks

The following properties are reserved for future use. Do not use them.

  • ClassGuid
    The GUID of the class of the drivers in this package. Reserved for future use. Do not use.

  • ClassName
    The name of the class of the drivers in this package. Reserved for future use. Do not use.

  • Provider
    The name of the company that provides the drivers in this package. Reserved for future use. Do not use.

  • CatalogFile
    The catalog file of this driver package. Reserved for future use. Do not use.

  • DigitalSigner
    The identity of the signer of the driver package. Reserved for future use. Do not use.

  • DigitalSignerVersion
    The version of the signer of the driver package. Reserved for future use. Do not use.

The PublishedDriverPackage action interface acts on an instance of the ITarget interface that is retrieved from the DeviceDepot property. You can retrieve a target-specific implementation of an action interface by calling the ITarget::GetInterface method with the desired WDTFProgID. You can retrieve the PublishedDriverPackage that was used to install a driver on a particular target in this manner.

You can use the properties of the PublishedDriverPackage interface to create different test scenarios that require management of drivers at the device level.

A DriverPackage object represents a driver package for a device. A PublishedDriverPackage object represents a DriverPackage object that is being tracked by WDTF in the WDTF driver package collection.

A DriverPackage object is published to the WDTF driver package collection in one of the following ways:

  • The driver package is for an in-box driver that is included in the default installation of Windows.

  • The driver package is published through the DeviceManagement::AddDriverPackage method.

The DeviceManagement for System Targets interface and DeviceManagement for Device Targets interface also provide methods and properties that might be helpful when you use them with the PublishedDriverPackage interface.

For more information about the WDTF driver package collection, see IDriverPackageCollection.

Implementation Details

WDTFProgID: DriverPackage

TraceLevel Path: HKCR\WDTFActions.1\Device\DriverPackage\

Note  The implementation of this interface is not thread-safe.

Requirements

Type library

WDTF.tlb; WDTFInterfaces.tlb; DeviceManagement.tlb

See also

Action Interfaces

Device Action Interfaces

DeviceDepot

DeviceManagement for Device Targets

DeviceManagement for System Targets

DeviceManagement::AddDriverPackage

DeviceManagement::InstallDriver

Driver Package

ITarget

ITarget::GetInterface

IWDTF::DeviceDepot

 

 

Send comments about this topic to Microsoft

Build date: 1/12/2012