Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 EvtDriverUnload
Windows Driver Kit: Kernel-Mode Driver Framework
EvtDriverUnload

A driver's EvtDriverUnload event callback function performs operations that must take place before the driver is unloaded.

typedef VOID
  (*PFN_WDF_DRIVER_UNLOAD)(
    IN WDFDRIVER  Driver
    );

Parameters

Driver
A handle to a framework driver object.

Return Value

None

Headers

Defined in Wdfdriver.h. Include Wdf.h.

Comments

The EvtDriverUnload callback function is supported by version 1.0 and later versions of KMDF.

The EvtDriverUnload callback function must deallocate any non-device–specific system resources that the driver's DriverEntry routine allocated.

This callback function is called at IRQL = PASSIVE_LEVEL.

See Also

DriverEntry

APIScan Requirements

Header: Wdfdriver.h, Wdf.h
Function: EvtDriverUnload
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker