NDIS_PD_PROVIDER_DISPATCH 结构 (ndis.h)

此结构用作 OID_PD_OPEN_PROVIDER 的输入,并用作所有提供程序的驱动程序例程的容器。

语法

typedef struct _NDIS_PD_PROVIDER_DISPATCH {
  NDIS_OBJECT_HEADER                         Header;
  ULONG                                      Flags;
  NDIS_PD_ALLOCATE_QUEUE_HANDLER             NdisPDAllocateQueue;
  NDIS_PD_FREE_QUEUE_HANDLER                 NdisPDFreeQueue;
  NDIS_PD_ACQUIRE_RECEIVE_QUEUES_HANDLER     NdisPDAcquireReceiveQueues;
  NDIS_PD_RELEASE_RECEIVE_QUEUES_HANDLER     NdisPDReleaseReceiveQueues;
  NDIS_PD_ALLOCATE_COUNTER_HANDLER           NdisPDAllocateCounter;
  NDIS_PD_FREE_COUNTER_HANDLER               NdisPDFreeCounter;
  NDIS_PD_QUERY_COUNTER_HANDLER              NdisPDQueryCounter;
  NDIS_PD_SET_RECEIVE_FILTER_HANDLER         NdisPDSetReceiveFilter;
  NDIS_PD_CLEAR_RECEIVE_FILTER_HANDLER       NdisPDClearReceiveFilter;
  NDIS_PD_REQUEST_DRAIN_NOTIFICATION_HANDLER NdisPDRequestDrainNotification;
  NDIS_PD_QUEUE_CONTROL_HANDLER              NdisPDQueueControl;
  NDIS_PD_PROVIDER_CONTROL_HANDLER           NdisPDProviderControl;
} NDIS_PD_PROVIDER_DISPATCH;

成员

Header

NDIS_PD_PROVIDER_DISPATCH 结构的NDIS_OBJECT_HEADER结构。 按如下所示设置此结构的成员:

  • 类型 = NDIS_OBJECT_TYPE_DEFAULT
  • 修订 = NDIS_PD_PROVIDER_DISPATCH_REVISION_1
  • 大小 = NDIS_SIZEOF_PD_PROVIDER_DISPATCH_REVISION_1

Flags

此成员是保留成员,提供程序必须将其设置为 0。

NdisPDAllocateQueue

请参阅 NdisPDAllocateQueue

NdisPDFreeQueue

请参阅 NdisPDFreeQueue

NdisPDAcquireReceiveQueues

NdisPDReleaseReceiveQueues

NdisPDAllocateCounter

请参阅 NdisPDAllocateCounter

NdisPDFreeCounter

请参阅 NdisPDFreeCounter

NdisPDQueryCounter

请参阅 NdisPDQueryCounter

NdisPDSetReceiveFilter

请参阅 NdisPDSetReceiveFilter

NdisPDClearReceiveFilter

请参阅 NdisPDClearReceiveFilter

NdisPDRequestDrainNotification

NdisPDQueueControl

NdisPDProviderControl

要求

要求
最低受支持的客户端 Windows 10
最低受支持的服务器 Windows Server 2016
标头 ndis.h

另请参阅

NDIS_OBJECT_HEADER