WDF_WMI_PROVIDER_CONFIG_INIT function

[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

Config [out]

A pointer to a WDF_WMI_PROVIDER_CONFIG structure.

Guid [in]

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

Target platform

Universal

Minimum KMDF version

1.0

Header

Wdfwmi.h (include Wdf.h)

See also

WDF_WMI_PROVIDER_CONFIG

 

 

Send comments about this topic to Microsoft

Show: