Bewerken

Delen via


WDF_WMI_PROVIDER_CONTROL enumeration (wdfwmi.h)

[Applies to KMDF only]

The WDF_WMI_PROVIDER_CONTROL enumeration defines the type of control functions that a WMI data provider can support.

Syntax

typedef enum _WDF_WMI_PROVIDER_CONTROL {
  WdfWmiControlInvalid = 0,
  WdfWmiEventControl,
  WdfWmiInstanceControl
} WDF_WMI_PROVIDER_CONTROL;

Constants

 
WdfWmiControlInvalid
Value: 0
For internal use only.
WdfWmiEventControl
The driver must enable or disable delivering events for a provider instance.
WdfWmiInstanceControl
The driver must enable or disable collecting data for a provider instance.

Remarks

The WDF_WMI_PROVIDER_CONTROL enumeration is used as an input parameter to the WdfWmiProviderIsEnabled method and the driver's EvtWmiProviderFunctionControl callback function.

Requirements

Requirement Value
Minimum KMDF version 1.0
Header wdfwmi.h (include Wdf.h)

See also

EvtWmiProviderFunctionControl

WdfWmiProviderIsEnabled