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

Parameters

pDeviceObject

Specifies a pointer to a DEVICE_OBJECT structure that represents the functional device object of the adapter driver.

Return value

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

Remarks

Requirements

Version

Available in Windows 7 and later versions of Windows.

Header

Portcls.h (include Portcls.h)

IRQL

PASSIVE_LEVEL.

See also

DEVICE_OBJECT
Event Tracing for Windows

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft