WDF_WMI_PROVIDER_CONFIG structure

[Applies to KMDF only]

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

Syntax


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;

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.

Requirements

Minimum KMDF version

1.0

Header

Wdfwmi.h (include Wdf.h)

See also

EvtWmiProviderFunctionControl
EvtWmiInstanceQueryInstance
EvtWmiInstanceSetInstance
WDF_WMI_PROVIDER_CONFIG_INIT
WDF_WMI_PROVIDER_FLAGS
WdfWmiProviderCreate

 

 

Send comments about this topic to Microsoft

Show: