WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG function

[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.

Syntax


VOID WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG(
  _Out_ PWDF_WMI_INSTANCE_CONFIG Config,
  _In_  PWDF_WMI_PROVIDER_CONFIG ProviderConfig
);

Parameters

Config [out]

A pointer to a WDF_WMI_INSTANCE_CONFIG structure.

ProviderConfig [in]

A pointer to a WDF_WMI_PROVIDER_CONFIG structure.

Return value

None

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.

Requirements

Target platform

Universal

Minimum KMDF version

1.0

Header

Wdfwmi.h (include Wdf.h)

See also

WDF_WMI_INSTANCE_CONFIG
WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER
WDF_WMI_PROVIDER_CONFIG
WdfWmiInstanceCreate
WdfWmiProviderCreate

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft