This function sets the TimeToSend value in the out-of-band data block associated with a specified packet descriptor.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
NDIS_SET_PACKET_TIME_TO_SEND( IN PNDIS_PACKET Packet,
IN ULONGLONG TimeToSend );
Protocols can use this macro to set this time stamp in the out-of-band data block associated with a driver-allocated packet descriptor to be passed in a subsequent call to the NdisSend function.
All time stamps set in the NDIS_PACKET_OOB_DATA blocks associated with packet descriptors are expressed in system time units as the number of 100-nanosecond intervals since January 1, 160l.
A protocol can call the NdisGetCurrentSystemTime function and add some number of system time units to the returned value in order to supply the TimeToSend argument to this macro, unless the client that initiated the send request has already supplied such a time stamp.
A driver that uses this macro runs at IRQL <= DISPATCH_LEVEL.