NDIS_GET_PACKET_TIME_TO_SEND (Windows Embedded CE 6.0)

1/6/2010

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
);

_Packet

Points to a packet descriptor.

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.

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

Headerndis.h
Windows Embedded CEWindows CE .NET 4.0 and later

Community Additions

ADD
Show: