WDF_WMI_PROVIDER_CONFIG - NtDoc

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

typedef struct _WDF_WMI_PROVIDER_CONFIG {
  ULONG                                 Size;
  GUID                                  Guid;
  ULONG                                 Flags;
  ULONG                                 MinInstanceBufferSize;
  PFN_WDF_WMI_PROVIDER_FUNCTION_CONTROL EvtWmiProviderFunctionControl;
} WDF_WMI_PROVIDER_CONFIG, *PWDF_WMI_PROVIDER_CONFIG;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdfwmi-_wdf_wmi_provider_config)

_WDF_WMI_PROVIDER_CONFIG structure

Description

[Applies to KMDF only]

The WDF_WMI_PROVIDER_CONFIG structure contains configuration information for a driver's WMI data block.

Members

Size

The size, in bytes, of this structure.

Guid

The symbolic name of a GUID that identifies a WMI data block.

Flags

A bitwise OR of WDF_WMI_PROVIDER_FLAGS-typed values.

MinInstanceBufferSize

The minimum size, in bytes, of fixed-length buffers that the EvtWmiInstanceQueryInstance and EvtWmiInstanceSetInstance callback functions will use for provider instances. This member must be zero for variable-length buffers. This member is ignored if WdfWmiProviderEventOnly is set in the Flags member.

EvtWmiProviderFunctionControl

A pointer to the driver's EvtWmiProviderFunctionControl callback function, or NULL.

Remarks

The WDF_WMI_PROVIDER_CONFIG structure is used as input to the WdfWmiProviderCreate method.

To initialize a WDF_WMI_PROVIDER_CONFIG structure, your driver should call WDF_WMI_PROVIDER_CONFIG_INIT.

See also

EvtWmiInstanceQueryInstance

EvtWmiInstanceSetInstance

EvtWmiProviderFunctionControl

WDF_WMI_PROVIDER_CONFIG_INIT

WDF_WMI_PROVIDER_FLAGS

WdfWmiProviderCreate