Bewerken

Delen via


IPortWMIRegistration interface (portcls.h)

The IPortWMIRegistration interface is provided in Windows 7 and later versions of Windows. This interface allows the miniport driver to coordinate Event Tracing for Windows (ETW) registration between PortCls and the miniport driver.

ETW provides a mechanism to trace and log events that are raised by user-mode applications and kernel-mode drivers. For more information about ETW, see Event Tracing for Windows and Improve Debugging And Performance Tuning With ETW.

Inheritance

The IPortWMIRegistration interface inherits from the IUnknown interface. IPortWMIRegistration also has these types of members:

Methods

The IPortWMIRegistration interface has these methods.

 
IPortWMIRegistration::RegisterWMIProvider

The RegisterWMIProvider method registers the Event Tracing for Windows (ETW) capability of the miniport driver with PortCls.
IPortWMIRegistration::UnregisterWMIProvider

The UnregisterWMIProvider method unregisters the Event Tracing for Windows (ETW) interface that was previously registered with a call to the RegisterWMIProvider method. The unregistration disables the ETW registration with PortCls.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h