IPortWMIRegistration::UnregisterWMIProvider method

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.

Syntax

NTSTATUS UnregisterWMIProvider(

);

Parameters

This function has no parameters.

Return Value

The UnregisterWMIProvider method returns STATUS_SUCCESS if the call is successful. Otherwise, it returns the appropriate error message.

Requirements

   
Windows version Available in Windows 7 and later versions of Windows.
Target Platform Universal
Header portcls.h (include Portcls.h)
IRQL PASSIVE_LEVEL.

See Also

DEVICE_OBJECT

Event Tracing for Windows

IPortWMIRegistration