struttura NDIS_MINIPORT_PNP_CHARACTERISTICS (ndis.h)
La struttura NDIS_MINIPORT_PNP_CHARACTERISTICS specifica i punti di ingresso per le funzioni che consentono a un driver miniport di elaborare alcuni pacchetti di richiesta di I/O Plug and Play (PnP).
Sintassi
typedef struct _NDIS_MINIPORT_PNP_CHARACTERISTICS {
NDIS_OBJECT_HEADER Header;
MINIPORT_ADD_DEVICE_HANDLER MiniportAddDeviceHandler;
MINIPORT_REMOVE_DEVICE_HANDLER MiniportRemoveDeviceHandler;
MINIPORT_FILTER_RESOURCE_REQUIREMENTS_HANDLER MiniportFilterResourceRequirementsHandler;
MINIPORT_START_DEVICE_HANDLER MiniportStartDeviceHandler;
ULONG Flags;
} NDIS_MINIPORT_PNP_CHARACTERISTICS, *PNDIS_MINIPORT_PNP_CHARACTERISTICS;
Membri
Header
Struttura NDIS_OBJECT_HEADER per la struttura NDIS_MINIPORT_PNP_CHARACTERISTICS. Impostare il membro Type della struttura che Header specifica su NDIS_OBJECT_TYPE_MINIPORT_PNP_CHARACTERISTICS, sul membro Revision su NDIS_MINIPORT_PNP_CHARACTERISTICS_REVISION_1 e sul membro Size su NDIS_SIZEOF_MINIPORT_PNP_CHARACTERISTICS_REVISION_1.
MiniportAddDeviceHandler
Punto di ingresso della funzione MiniportAddDevice del chiamante.
MiniportRemoveDeviceHandler
Punto di ingresso del chiamante funzione MiniportRemoveDevice.
MiniportFilterResourceRequirementsHandler
Punto di ingresso del chiamante funzione MiniportFilterResourceRequirements.
MiniportStartDeviceHandler
Punto di ingresso del chiamante funzione miniportStartDevice, se presente. Se questa funzione non è necessaria, impostare questo membro su NULL.
Flags
Riservato.
Osservazioni
I driver Miniport che supportano MSI-X e modificheranno l'affinità di interrupt per ogni MSI-X funzioni di registro dei messaggi definite nella struttura NDIS_MINIPORT_PNP_CHARACTERISTICS. Per registrare queste funzioni, chiamare la funzione NdisSetOptionalHandlers dalla funzione MiniportSetOptions e specificare una struttura NDIS_MINIPORT_PNP_CHARACTERISTICS nel parametro OptionalHandlers di NdisSetOptionalHandlers.
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Supportato in NDIS 6.0 e versioni successive. |
intestazione | ndis.h (include Ndis.h) |