WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG - NtDoc

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

VOID WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG(
  [out] PWDF_WMI_INSTANCE_CONFIG Config,
  [in]  PWDF_WMI_PROVIDER_CONFIG ProviderConfig
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfwmi-wdf_wmi_instance_config_init_provider_config)

WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG function

Description

[Applies to KMDF only]

The WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG function initializes a WDF_WMI_INSTANCE_CONFIG structure and stores a pointer to a specified WDF_WMI_PROVIDER_CONFIG structure.

Parameters

Config [out]

A pointer to a WDF_WMI_INSTANCE_CONFIG structure.

ProviderConfig [in]

A pointer to a WDF_WMI_PROVIDER_CONFIG structure.

Remarks

The WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG function zeros the specified WDF_WMI_INSTANCE_CONFIG structure and sets its Size member. The function also sets the structure's ProviderConfig member to the specified pointer.

Your driver should call WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG to initialize a WDF_WMI_INSTANCE_CONFIG structure if it does not call WdfWmiProviderCreate before calling WdfWmiInstanceCreate.

Examples

For a code example the uses WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG, see WdfWmiInstanceCreate.

See also

WDF_WMI_INSTANCE_CONFIG

WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER

WDF_WMI_PROVIDER_CONFIG

WdfWmiInstanceCreate

WdfWmiProviderCreate