共用方式為


NDIS_GET_PACKET_TIME_TO_SEND function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NDIS_GET_PACKET_TIME_TO_SEND returns the TimeToSend value from the out-of-band data block associated with a given packet descriptor.

Syntax

ULONGLONG NDIS_GET_PACKET_TIME_TO_SEND(
  _In_ PNDIS_PACKET Packet
);

Parameters

  • Packet [in]
    Pointer to a packet descriptor.

Return value

NDIS_GET_PACKET_TIME_TO_SEND returns the timestamp, if any, set by the protocol driver before passing the Packet in an array to NdisSendPackets or as a parameter to NdisSend.

Remarks

The MiniportSendPackets or MiniportSend function of an underlying NIC driver might use NDIS_GET_PACKET_TIME_TO_SEND to determine when a given packet should be transmitted over the network.

All timestamps set in the NDIS_PACKET_OOB_DATA blocks associated with packets are expressed in system time units as the number of 100-nanosecond intervals since January 1, 1601.

Requirements

Target platform

Desktop

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

See also

MiniportSend

MiniportSendPackets

NdisGetCurrentSystemTime

NDIS_OOB_DATA_FROM_PACKET

NDIS_PACKET_OOB_DATA

NdisSend

NdisSendPackets

NDIS_SET_PACKET_TIME_TO_SEND

ProtocolSendComplete

 

 

Send comments about this topic to Microsoft