IDriverEntry::OnDeinitialize method

[Applies to UMDF 1.x only]

The OnDeinitialize method performs any operations that are necessary before a system unloads a driver.

Syntax


void OnDeinitialize(
  [in] IWDFDriver *pWdfDriver
);

Parameters

pWdfDriver [in]

A pointer to the IWDFDriver interface for the driver object that represents the driver that the system unloads.

Return value

None

Remarks

The framework creates a new driver object for each driver that is loaded in the driver host process. When a driver is about to be unloaded from the host process, the framework calls OnDeinitialize to notify the driver of the departure and passes the IWDFDriver interface in the call. The system unloads the driver after OnDeinitialize returns.

Requirements

Header

Wudfddi.h (include Wudfddi.h)

See also

IDriverEntry
IWDFDriver

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2015 Microsoft