Windows Driver Kit: Driver Development Tools
WPP_CLEANUP

The WPP_CLEANUP macro deactivates software tracing in a driver.

VOID
  WPP_CLEANUP(
    IN PDRIVER_OBJECT  DriverObject
    );

Parameters

DriverObject
Pointer to the driver object that represents the driver.

Headers

Defined in a source file's trace message header file. The WPP preprocessor generates the header file and saves in the same directory as the source file.

Comments

WPP_CLEANUP deactivates software tracing in a driver. A driver should deactivate software tracing before it unloads.

For an example of making a WPP_CLEANUP call, see Activating and Deactivating Software Tracing in the tracedrv Sample.

See Also

WPP_INIT_TRACING


Send feedback on this topic
Built on October 01, 2009
Page view tracker