|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This macro sets the TimeSentvalue in the out-of-band data block associated with a specified packet descriptor.
NDIS_SET_PACKET_TIME_SENT( IN PNDIS_PACKET Packet , IN ULONGLONG TimeSent );
Miniports can use this macro to set this time stamp in the out-of-band data block associated with a packet descriptor that they are about to indicate with the NdisMIndicateReceivePacketfunction.
All time stamps set in the NDIS_PACKET_OOB_DATAstructures associated with packets are expressed in system time units as the number of 100-nanosecond intervals since January 1, 1601.
When a protocol driver's ProtocolReceivePacketfunction is called with such an indication, it can use the NDIS_GET_PACKET_TIME_SENTmacro to retrieve the TimeSenttime stamp, using the Packetpointer that it is given on entry.
If the ProtocolReceivefunction is called with an indicated packet descriptor for which the underlying driver set the TimeSenttime stamp, ProtocolReceivecalls the NdisQueryReceiveInformationfunction to get this time stamp.
A driver that uses this macro runs at IRQL <=DISPATCH_LEVEL.
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||2.0 and later||Ndis.h|
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.
Last updated on Tuesday, July 13, 2004