WPP_CLEANUP for Kernel-Mode Drivers
The WPP_CLEANUP macro deactivates software tracing in a kernel-mode driver.
VOID WPP_CLEANUP( IN PDRIVER_OBJECT DriverObject );
A pointer to the driver object that represents the driver. Starting with Windows XP, if the driver is not using Inflight Trace Recorder (IFR), this parameter is not used and can be set to NULL.
Defined in a source file's trace message header file.
The WPP preprocessor generates the trace message header file and saves it in the output directory for the build process.
WPP_CLEANUP deactivates software tracing in a driver. The driver should deactivate software tracing before it unloads.