NdisMSendResourcesAvailable

This function notifies NDIS that a miniport has sufficient internal resources to accept another send request, even though one or more outstanding send packets are pending within the miniport.

VOID NdisMSendResourcesAvailable(
IN NDIS_HANDLE MiniportAdapterHandle );

Parameters

Remarks

The NDIS library queues send requests for miniports so that each network adapter driver can deal with one device transmit operation at a time, although a miniport can transmit several packets per operation, depending on the capabilities of its network adapter. NDIS serializes the submission of packets to each miniport's MiniportSend function. NDIS queues incoming send requests in first-in, first-out (FIFO) order.

Any miniport retains ownership of such a send packet in one of the following ways:

  • Its MiniportSend function returns NDIS_STATUS_PENDING.

In either of these circumstances, the network adapter driver eventually must call NdisMSendComplete or NdisMWanSendComplete to indicate that it has released ownership of the packet and that the driver has sufficient resources available to accept the next transmit request.

However, before a miniport calls NdisMSendComplete for a pending packet, it can call this function if the driver and its network adapter are capable of accepting another send request immediately, provided NDIS has one in its queue to submit to that driver. Such a call allows the driver of a high-capacity network adapter to optimize transmissions over the network by sending more data at a time.

This function can be called only between the return of NDIS_STATUS_PENDING for a specified packet and the miniport's call to NdisMSendComplete with that packet.

A WAN miniport cannot call this function.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h   Ndislib.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

MiniportInitialize, MiniportSend, NdisMSendComplete, NdisMWanSendComplete, NdisSend

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.