WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG function (wdfwmi.h)
[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
[out] Config
A pointer to a WDF_WMI_INSTANCE_CONFIG structure.
[in] ProviderConfig
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
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Header | wdfwmi.h (include Wdf.h) |