若要确定是否支持特定驱动程序类型,请将基本 WPP 宏添加到驱动程序,例如 WPP_INIT_TRACING 和WPP_CLEANUP。 如果代码由于未定义所使用的类型而未编译,则 ETW 和 WPP 无法支持驱动程序类型。有关ETW 的详细信息,请参阅 Windows 事件跟踪。注意 一次只能由一个跟踪会话启用 WPP 跟踪提供程序。 有关详细信息 ,请参...
A kernel-mode driver must use WPP_INIT_TRACING to activate software tracing. After the driver has activated software tracing, a user can enable and control tracing by usingTracelog. The driver should only make one call to activate software tracing. Before the driver unloads, it should callWPP...
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a kernel-mode driver or user-mode application.This macro has a different signature for kernel-mode drivers and user-mode applications. Both versions of this macro ar...
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a kernel-mode driver or user-mode application.This macro has a different signature for kernel-mode drivers and user-mode applications. Both versions of this macro a...
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a kernel-mode driver or user-mode application.This macro has a different signature for kernel-mode drivers and user-mode applications. Both versions of this macro ...
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a user-mode application.复制 VOID WPP_INIT_TRACING( IN OPT LPCWSTR ApplicationName ); ParametersApplicationName This parameter is not used for user-mode applications, ...
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a kernel-mode driver or user-mode application.This macro has a different signature for kernel-mode drivers and user-mode applications. Both versions of this macro are desc...
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a kernel-mode driver or user-mode application.This macro has a different signature for kernel-mode drivers and user-mode applications. Both versions of this macro are desc...
但是,ETW 和 WPP 使用不适用于某些类型的驱动程序的类型,例如微型端口驱动程序。 若要确定是否支持特定驱动程序类型,请将基本 WPP 宏添加到驱动程序,例如WPP_INIT_TRACING和WPP_CLEANUP。 如果代码由于未定义所使用的类型而未编译,则 ETW 和 WPP 无法支持驱动程序类型。
The WPP_INIT_TRACING macro registers the provider GUID and initializes the structures that are needed for software tracing in a user-mode application. 複製 VOID WPP_INIT_TRACING( IN OPT LPCWSTR ApplicationName ); Parameters ApplicationName This parameter is not used for user-mode applicati...