// ndis.h
void NdisGetCurrentSystemTime(
[in] _pSystemTime
);
View the official Windows Driver Kit DDI reference
No description available.
The NdisGetCurrentSystemTime function returns the current system time, suitable for setting timestamps.
_pSystemTime
[in]A pointer to a caller-supplied variable in which this function returns a count of 100-nanosecond intervals since January 1, 1601.
An NDIS driver might also 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 miniport driver could call NdisGetCurrentSystemTime for each receive interrupt to determine periods of high network traffic, when the driver might disable one or more types of interrupts on the NIC and enable a polling NetTimerCallback function to process receive indications or send requests.