共用方式為


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