IPnpCallbackHardware2 interface (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The IPnpCallbackHardware2 interface exposes callback methods related to hardware.

Inheritance

The IPnpCallbackHardware2 interface inherits from the IUnknown interface. IPnpCallbackHardware2 also has these types of members:

  • Methods

Methods

The IPnpCallbackHardware2 interface has these methods.

 
IPnpCallbackHardware2::OnPrepareHardware

The OnPrepareHardware method performs any operations that are needed to make a device accessible to the driver.
IPnpCallbackHardware2::OnReleaseHardware

The OnReleaseHardware method performs operations that are needed when a device is no longer accessible.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.11
Header wudfddi.h

See also

IUnknown