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 );
Pointer to the driver object that represents the driver.Note Starting with Windows XP, 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.