Freigeben über


NDIS_GET_PACKET_TIME_TO_SEND (Windows CE 5.0)

Send Feedback

This macro returns the TimeToSend member of the out-of-band (OOB) data block associated with a given packet descriptor.

ULONGLONG NDIS_GET_PACKET_TIME_TO_SEND(PNDIS_PACKET_Packet);

Parameters

  • _Packet
    Points to a packet descriptor.

Return Values

The return value is the time stamp, 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 time stamps 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.

The NDIS_GET_PACKET_TIME_SENT macro is defined as follows.

#define NDIS_GET_PACKET_TIME_SENT(_Packet)                              \
                        ((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) +    \
                        (_Packet)->Private.NdisPacketOobOffset))->TimeSent

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

MiniportSend | MiniportSendPackets | NdisGetCurrentSystemTime | NDIS_OOB_DATA_FROM_PACKET | NDIS_PACKET_OOB_DATA | NDIS_SET_PACKET_TIME_SENT | NdisSend | NdisSendPackets

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.