Condividi tramite


struttura REENUMERATE_SELF_INTERFACE_STANDARD (wdm.h)

La struttura dell'interfaccia REENUMERATE_SELF_INTERFACE_STANDARD consente a un driver di richiedere che il driver del bus padre rienumera il dispositivo del driver. Questa struttura definisce l'interfaccia GUID_REENUMERATE_SELF_INTERFACE_STANDARD.

Sintassi

typedef struct _REENUMERATE_SELF_INTERFACE_STANDARD {
  USHORT                 Size;
  USHORT                 Version;
  PVOID                  Context;
  PINTERFACE_REFERENCE   InterfaceReference;
  PINTERFACE_DEREFERENCE InterfaceDereference;
  PREENUMERATE_SELF      SurpriseRemoveAndReenumerateSelf;
} REENUMERATE_SELF_INTERFACE_STANDARD, *PREENUMERATE_SELF_INTERFACE_STANDARD;

Membri

Size

Dimensione, in byte, di questa struttura.

Version

Versione dell'interfaccia definita dal driver.

Context

Puntatore a informazioni di contesto specifiche dell'interfaccia.

InterfaceReference

Puntatore a un InterfaceReference routine che incrementa il numero di riferimenti dell'interfaccia.

InterfaceDereference

Puntatore a un InterfaceDereference routine che decrementa il conteggio dei riferimenti dell'interfaccia.

SurpriseRemoveAndReenumerateSelf

Puntatore a una routine ReenumerateSelf che richiede la rinumerazione del dispositivo.

Osservazioni

Un driver ottiene un puntatore alla struttura REENUMERATE_SELF_INTERFACE_STANDARD inviando un IRP_MN_QUERY_INTERFACE IRP al driver del bus con InterfaceType impostato su GUID_REENUMERATE_SELF_INTERFACE_STANDARD.

La struttura REENUMERATE_SELF_INTERFACE_STANDARD è un'estensione della struttura INTERFACE.

Fabbisogno

Requisito Valore
client minimo supportato Disponibile a partire da Windows Vista.
intestazione wdm.h (include Wdm.h, Ntddk.h)

Vedere anche

GUID_REENUMERATE_SELF_INTERFACE_STANDARD

INTERFACE

IRP_MN_QUERY_INTERFACE

InterfaceDereference

InterfaceReference

ReenumerateSelf