WDF_WMI_PROVIDER_FLAGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfwmi.h

typedef enum _WDF_WMI_PROVIDER_FLAGS {
  WdfWmiProviderEventOnly = 0x0001,
  WdfWmiProviderExpensive = 0x0002,
  WdfWmiProviderTracing = 0x0004,
  WdfWmiProviderValidFlags = WdfWmiProviderEventOnly | WdfWmiProviderExpensive | WdfWmiProviderTracing
} WDF_WMI_PROVIDER_FLAGS;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdfwmi-_wdf_wmi_provider_flags)

_WDF_WMI_PROVIDER_FLAGS enumeration

Description

[Applies to KMDF only]

The WDF_WMI_PROVIDER_FLAGS enumeration defines configuration flags for a driver's WMI data provider.

Constants

WdfWmiProviderEventOnly:0x0001

WMI clients can receive notification of WMI events, but they cannot query or set instance data. The driver can call WdfWmiInstanceFireEvent, but it does not provide any instance-specific callback functions.

WdfWmiProviderExpensive:0x0002

Collecting the provider's data can potentially affect the driver's performance, so the driver will not collect data unless a WMI client has registered to use it. The framework calls the driver's EvtWmiProviderFunctionControl callback function, passing the WdfWmiInstanceControl value (from the WDF_WMI_PROVIDER_CONTROL enumeration), to inform the driver to begin collecting data. If the driver does not provide an EvtWmiProviderFunctionControl callback function, it can call WdfWmiProviderIsEnabled.

WdfWmiProviderTracing:0x0004

The WMI data provider supports WMI event tracing. The driver can obtain the tracing handle by calling WdfWmiProviderGetTracingHandle. If this flag is set, no other flags can be set.

WdfWmiProviderValidFlags:WdfWmiProviderEventOnly | WdfWmiProviderExpensive | WdfWmiProviderTracing

The bitwise OR of all flags. Drivers should not use this value.

Remarks

The WDF_WMI_PROVIDER_FLAGS enumeration is used in the WDF_WMI_PROVIDER_CONFIG structure.

See also

EvtWmiProviderFunctionControl

WDF_WMI_PROVIDER_CONFIG

WdfWmiInstanceControl

WdfWmiInstanceFireEvent

WdfWmiProviderGetTracingHandle

WdfWmiProviderIsEnabled