NdisStallExecution - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

void NdisStallExecution(
  MicroSecondsToStall
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisstallexecution)

NdisStallExecution macro

Description

The NdisStallExecution function stalls the caller on the current processor for a given interval.

Parameters

MicroSecondsToStall

The number of microseconds to delay. A driver should specify no more than 50 microseconds.

Remarks

NdisStallExecution is a processor-dependent function that busy-waits for at least the specified number of microseconds, but not significantly longer.

This function should be called by drivers that must wait for an interval of more than a few instructions but less than 50 microseconds. Drivers that call this routine should minimize the number of microseconds that they specify.

If a driver must wait for an interval longer than 50 microseconds, it should call the NdisMSleep function. Note that callers of NdisMSleep run at IRQL < DISPATCH_LEVEL.

See also

MiniportInitializeEx

MiniportResetEx

NdisMSleep

NdisSetTimerObject