Partager via


structure NDIS_POLL_CHARACTERISTICS (poll.h)

La structure NDIS_POLL_CHARACTERISTICS contient lesNdisPolld’un objet Poll et NdisSetPollNotification pointeurs de rappel.

Syntaxe

typedef struct _NDIS_POLL_CHARACTERISTICS {
  NDIS_OBJECT_HEADER                 Header;
  NDIS_SET_POLL_NOTIFICATION_HANDLER SetPollNotificationHandler;
  NDIS_POLL_HANDLER                  PollHandler;
} NDIS_POLL_CHARACTERISTICS;

Membres

Header

Structure NDIS_OBJECT_HEADER pour la structure NDIS_POLL_CHARACTERISTICS. Définissez les membres de cette structure comme suit :

  • Type = NDIS_OBJECT_TYPE_DEFAULT
  • révision = NDIS_POLL_CHARACTERISTICS_REVISION_1
  • Taille = NDIS_SIZEOF_NDIS_POLL_CHARACTERISTICS_REVISION_1

SetPollNotificationHandler

Point d’entrée pour la NdisSetPollNotification fonction de rappel appelée par NDIS lorsqu’il souhaite que le pilote active ou désactive les interruptions.

PollHandler

Point d’entrée du NdisPoll fonction de rappel appelée par NDIS pour interroger le pilote pour obtenir des indications de réception et envoyer des achèvements.

Remarques

Les pilotes miniport initialisent la structure NDIS_POLL_CHARACTERISTICS, puis le passent à NDIS lors de l’appel NdisRegisterPoll.

Exigences

Exigence Valeur
client minimum pris en charge Windows 11
serveur minimum pris en charge Windows Server 2022
d’en-tête poll.h (include ndis.h)

Voir aussi

NdisPoll

NdisSetPollNotification

NdisRegisterPoll