IPnpCallbackHardware interface

The IPnpCallbackHardware interface is a Plug and Play (PnP) and power management (PM) interface.

Members

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

Methods

The IPnpCallbackHardware interface has these methods.

MethodDescription
IPnpCallbackHardware::OnPrepareHardware

The OnPrepareHardware method notifies a driver to make the specified hardware accessible.

IPnpCallbackHardware::OnReleaseHardware

The OnReleaseHardware method notifies a driver to perform operations that are necessary when the specified hardware is no longer accessible.

 

Remarks

A driver registers the IPnpCallbackHardware interface when the driver calls the IWDFDriver::CreateDevice method to create a device object.

Requirements

Header

Wudfddi.h (include Wudfddi.h)

See also

IPnpCallbackHardware2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.