MacTimerFunction

VOID
   MacTimerFunction(
       IN PVOID SystemSpecific1,
       IN PVOID FunctionContext,
       IN PVOID SystemSpecific2,
       IN PVOID SystemSpecific3
       );

MacTimerFunction is called when the interval specified in a driver call to NdisSetTimer expires.

Parameters

SystemSpecific1

Points to a first OS-specific value. For Windows NT drivers, this is reserved for use by NDIS.

FunctionContext

Points to the context that the NIC driver associates with the timer expiration.

SystemSpecific2

Points to a second OS-specific value. For Windows NT drivers, this is reserved for system use.

SystemSpecific3

Points to a third OS-specific value. For Windows NT drivers, this is reserved for system use.

Comments

MacTimerFunction is called, at most, once for each driver call to NdisSetTimer. If a full-NIC driver calls NdisSetTimer twice and the interval specified in the initial call has not yet expired, the second call effectively cancels the first. In these circumstances, MacTimerFunction runs when the interval specified in the most recent call to NdisSetTimer expires, unless the driver calls NdisCancelTimer before that interval expires.

MacTimerFunction runs at IRQL DISPATCH_LEVEL.

See Also

MiniportTimer, NdisCancelTimer, NdisInitializeTimer, NdisSetTimer