NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS structure (ntddndis.h)

The NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS structure contains information about the allocation status of a receive queue.

Syntax

typedef struct _NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS {
  NDIS_OBJECT_HEADER    Header;
  ULONG                 Flags;
  NDIS_RECEIVE_QUEUE_ID QueueId;
  NDIS_STATUS           CompletionStatus;
} NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS, *PNDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS structure. The driver sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS_REVISION_1.

Flags

A ULONG value that contains a bitwise OR of flags. This member is reserved for NDIS.

QueueId

An NDIS_RECEIVE_QUEUE_ID type value that contains a receive queue identifier. This identifier is an integer value between zero and the number of queues that the network adapter supports. A value of NDIS_DEFAULT_RECEIVE_QUEUE_ID specifies the default receive queue.

CompletionStatus

An NDIS_STATUS value that contains an NDIS_STATUS_Xxx completion status code. The miniport driver provides this status code to indicate the completion status of a queue. The miniport driver can use NDIS_STATUS_SUCCESS if the allocation succeeded. Otherwise the miniport driver can use an appropriate error status, for example, NDIS_STATUS_RESOURCES.

Remarks

The NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS structure is used with the NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_ARRAY structure and the OID_RECEIVE_FILTER_QUEUE_ALLOCATION_COMPLETE OID.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.20 and later.
Header ntddndis.h (include Ndis.h)

See also

NDIS_OBJECT_HEADER

NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_ARRAY OID_RECEIVE_FILTER_QUEUE_ALLOCATION_COMPLETE