Export (0) Print
Expand All

IPnpCallbackHardware2 interface

The IPnpCallbackHardware2 interface exposes callback methods related to hardware.

When to implement

A driver implements this interface and registers it when it calls the IWDFDriver::CreateDevice method to create a device object.

Members

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

Methods

The IPnpCallbackHardware2 interface has these methods.

MethodDescription
OnPrepareHardware

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

OnReleaseHardware

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

 

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.11

Header

Wudfddi.h

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft