WDF_WMI_PROVIDER_CONFIG structure (wdfwmi.h)
[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
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Header | wdfwmi.h (include Wdf.h) |