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.
| Method | Description | 
|---|---|
| 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 | 
 | 
|---|
See also
        Show:
        
        
    

