NDIS_POLL_CHARACTERISTICS structure (poll.h)

The NDIS_POLL_CHARACTERISTICS structure contains a Poll object’s NdisPoll and NdisSetPollNotification callback pointers.

Syntax

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

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_POLL_CHARACTERISTICS structure. Set the members of this structure as follows:

  • Type = NDIS_OBJECT_TYPE_DEFAULT
  • Revision = NDIS_POLL_CHARACTERISTICS_REVISION_1
  • Size = NDIS_SIZEOF_NDIS_POLL_CHARACTERISTICS_REVISION_1

SetPollNotificationHandler

An entry point for the NdisSetPollNotification callback function that NDIS invokes when it wants the driver to enable or disable interrupts.

PollHandler

An entry point for the NdisPoll callback function that NDIS invokes to poll the driver for receive indications and send completions.

Remarks

Miniport drivers initialize the NDIS_POLL_CHARACTERISTICS structure and then pass it to NDIS when calling NdisRegisterPoll.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header poll.h (include ndis.h)

See also

NdisPoll

NdisSetPollNotification

NdisRegisterPoll