[Applies to KMDF only]
The WdfDriverMiniportUnload method deletes a specified miniport driver's framework driver object.
VOID WdfDriverMiniportUnload( _In_ WDFDRIVER Driver );
A miniport driver calls the WdfDriverMiniportUnload method when the miniport driver is about to be unloaded. The method calls the driver's EvtDriverUnload event callback function and deletes the driver's framework driver object.
Typically, a miniport driver calls WdfDriverMiniportUnload from within a driver-supplied unload routine that is defined by the port driver's architecture.
For more information about miniport drivers, see Using Kernel-Mode Driver Framework with Miniport Drivers.
The following code example deletes a specified miniport driver's framework driver object.
|Minimum KMDF version||1.0|
|Header||wdfminiport.h (include Wdfminiport.h)|
|Library||Wdf01000.sys (see Framework Library Versioning.)|
|DDI compliance rules||DriverCreate|