Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This structure is used as input for the OID_PD_OPEN_PROVIDER and serves as a container for all the provider's driver routines.
Syntax
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;
Members
Header
The NDIS_OBJECT_HEADER structure for the NDIS_PD_PROVIDER_DISPATCH structure. Set the members of this structure as follows:
- Type = NDIS_OBJECT_TYPE_DEFAULT
- Revision = NDIS_PD_PROVIDER_DISPATCH_REVISION_1
- Size = NDIS_SIZEOF_PD_PROVIDER_DISPATCH_REVISION_1
Flags
This member is reserved and must be set to 0 by the provider.
NdisPDAllocateQueue
See NdisPDAllocateQueue.
NdisPDFreeQueue
See NdisPDFreeQueue.
NdisPDAcquireReceiveQueues
NdisPDReleaseReceiveQueues
NdisPDAllocateCounter
NdisPDFreeCounter
See NdisPDFreeCounter.
NdisPDQueryCounter
See NdisPDQueryCounter.
NdisPDSetReceiveFilter
NdisPDClearReceiveFilter
NdisPDRequestDrainNotification
NdisPDQueueControl
NdisPDProviderControl
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | ndis.h |