Microsoft Windows CE 3.0  

NDIS_SET_PACKET_TIME_TO_SEND

Important:
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 function sets the TimeToSendvalue in the out-of-band data block associated with a specified packet descriptor.

NDIS_SET_PACKET_TIME_TO_SEND(
IN PNDIS_PACKET
Packet
,
IN ULONGLONG
TimeToSend
);

Parameters

Packet
Pointer to a packet descriptor allocated by the caller for a send.
TimeToSend
Specifies the system time at which the packet should be transmitted over the network.

Remarks

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 NdisSendfunction.

All time stamps set in the NDIS_PACKET_OOB_DATAblocks 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 NdisGetCurrentSystemTimefunction and add some number of system time units to the returned value in order to supply the TimeToSendargument 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.

Requirements

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.

See Also

NdisSend



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.