WDF_WMI_PROVIDER_CONFIG_INIT function (wdfwmi.h)

[Applies to KMDF only]

The WDF_WMI_PROVIDER_CONFIG_INIT function initializes a WDF_WMI_PROVIDER_CONFIG structure.

Syntax

void WDF_WMI_PROVIDER_CONFIG_INIT(
  [out] PWDF_WMI_PROVIDER_CONFIG Config,
  [in]  const GUID               *Guid
);

Parameters

[out] Config

A pointer to a WDF_WMI_PROVIDER_CONFIG structure.

[in] Guid

A pointer to a GUID that identifies a WMI data provider's data block.

Return value

None

Remarks

The WDF_WMI_PROVIDER_CONFIG_INIT function zeros the specified WDF_WMI_PROVIDER_CONFIG structure and sets its Size member. This function also copies the specified GUID into the structure's Guid member.

Examples

For a code example that uses WDF_WMI_PROVIDER_CONFIG_INIT, see WdfWmiProviderCreate.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Header wdfwmi.h (include Wdf.h)

See also

WDF_WMI_PROVIDER_CONFIG