estrutura NDIS_PD_PROVIDER_DISPATCH (ndis.h)

Essa estrutura é usada como entrada para o OID_PD_OPEN_PROVIDER e serve como um contêiner para todas as rotinas de driver do provedor.

Sintaxe

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;

Membros

Header

A estrutura NDIS_OBJECT_HEADER para a estrutura NDIS_PD_PROVIDER_DISPATCH . Defina os membros dessa estrutura da seguinte maneira:

  • Tipo = NDIS_OBJECT_TYPE_DEFAULT
  • Revisão = NDIS_PD_PROVIDER_DISPATCH_REVISION_1
  • Tamanho = NDIS_SIZEOF_PD_PROVIDER_DISPATCH_REVISION_1

Flags

Esse membro é reservado e deve ser definido como 0 pelo provedor.

NdisPDAllocateQueue

Consulte NdisPDAllocateQueue.

NdisPDFreeQueue

Consulte NdisPDFreeQueue.

NdisPDAcquireReceiveQueues

NdisPDReleaseReceiveQueues

NdisPDAllocateCounter

Consulte NdisPDAllocateCounter.

NdisPDFreeCounter

Consulte NdisPDFreeCounter.

NdisPDQueryCounter

Consulte NdisPDQueryCounter.

NdisPDSetReceiveFilter

Consulte NdisPDSetReceiveFilter.

NdisPDClearReceiveFilter

Consulte NdisPDClearReceiveFilter.

NdisPDRequestDrainNotification

NdisPDQueueControl

NdisPDProviderControl

Requisitos

Requisito Valor
Cliente mínimo com suporte Windows 10
Servidor mínimo com suporte Windows Server 2016
Cabeçalho ndis.h

Confira também

NDIS_OBJECT_HEADER