funzione WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG (wdfwmi.h)

[Si applica solo a KMDF]

La funzione WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG inizializza una struttura WDF_WMI_INSTANCE_CONFIG e archivia un puntatore a una struttura WDF_WMI_PROVIDER_CONFIG specificata.

Sintassi

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

Parametri

[out] Config

Puntatore a una struttura WDF_WMI_INSTANCE_CONFIG .

[in] ProviderConfig

Puntatore a una struttura WDF_WMI_PROVIDER_CONFIG .

Valore restituito

nessuno

Osservazioni

La funzione WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG zero la struttura WDF_WMI_INSTANCE_CONFIG specificata e ne imposta il membro Size . La funzione imposta anche il membro ProviderConfig della struttura sul puntatore specificato.

Il driver deve chiamare WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG per inizializzare una struttura WDF_WMI_INSTANCE_CONFIG se non chiama WdfWmiProviderCreate prima di chiamare WdfWmiInstanceCreate.

Esempio

Per un esempio di codice che usa WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER_CONFIG, vedere WdfWmiInstanceCreate.

Requisiti

Requisito Valore
Piattaforma di destinazione Universale
Versione KMDF minima 1.0
Intestazione wdfwmi.h (include Wdf.h)

Vedi anche

WDF_WMI_INSTANCE_CONFIG

WDF_WMI_INSTANCE_CONFIG_INIT_PROVIDER

WDF_WMI_PROVIDER_CONFIG

WdfWmiInstanceCreate

WdfWmiProviderCreate