NdisGetCurrentSystemTime (Windows CE 5.0)
This function returns the current system time, suitable for setting time stamps.
VOID NdisGetCurrentSystemTime(PLARGE_INTEGERpSystemTime);
Parameters
- pSystemTime
[in] Points to a caller-supplied variable in which this function returns a count of 100-nanosecond intervals since January 1, 1601.
Return Values
None.
Remarks
An NDIS driver can call NdisGetCurrentSystemTime to set time stamps in the out-of-band blocks associated with packets it indicates or sends.
An NDIS driver also might call NdisGetCurrentSystemTime if it maintains a count of how many packets it receives within any particular interval to tune its performance dynamically. For example, a NIC driver could call NdisGetCurrentSystemTime for each receive interrupt to determine periods of particularly high network traffic, when the driver might disable one or more types of interrupts on the NIC and enable a polling MiniportTimer function to process receives and/or sends.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib
See Also
MiniportHandleInterrupt | MiniportTimer | NdisMSetPeriodicTimer | NDIS_PACKET_OOB_DATA | NDIS_SET_PACKET_TIME_RECEIVED | NDIS_SET_PACKET_TIME_SENT | NDIS_SET_PACKET_TIME_TO_SEND
Send Feedback on this topic to the authors