IWDTFPNPAction2 interface (wdtfpnpaction.h)

Defines operations and properties for the Plug and Play (PNP) device-related test interfaces.

Inheritance

The IWDTFPNPAction2 interface inherits from IWDTFActionWithCustomActions2. IWDTFPNPAction2 also has these types of members:

Methods

The IWDTFPNPAction2 interface has these methods.

 
IWDTFPNPAction2::DisableDevice

Disables the target device.
IWDTFPNPAction2::EDTCancelRemoveDevice

Sends an IRP_MN_CANCEL_REMOVE_DEVICE event to the target device.
IWDTFPNPAction2::EDTCancelStopDevice

Sends an IRP_MN_CANCEL_STOP_DEVICE event to the target device.
IWDTFPNPAction2::EDTSurpriseRemoveDevice

Sends an IRP_MN_SURPRISE_REMOVAL event to the target device.
IWDTFPNPAction2::EDTTryStopDevice

Attempts to send an IRP_MN_STOP_DEVICE event to the target device.
IWDTFPNPAction2::EDTTryStopDeviceFailRestart

This method attempts to send an IRP_MN_STOP_DEVICE event to the target device and then fail the subsequent device restart.
IWDTFPNPAction2::EDTTryStopDeviceRequestNewResources

Attempts to send an IRP_MN_STOP_DEVICE event to the target device and assign new resources to the target device.
IWDTFPNPAction2::EnableDevice

Enables the target device.
IWDTFPNPAction2::RemoveDevice

Removes the device.
IWDTFPNPAction2::RequestEjectDevice

Initiates a device eject.
IWDTFPNPAction2::RescanDevice

Rescans the target device.
IWDTFPNPAction2::RescanParentDevice

Rescans and re-enumerates the target device's parent device.
IWDTFPNPAction2::RestartDevice

Initiates a device restart.

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Windows
Header wdtfpnpaction.h