Condividi tramite


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
    );

   

Parameters

  • 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.

Headers

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.

Comments

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

See also

WPP_INIT_TRACING

 

 

Send comments about this topic to Microsoft