NDIS Delay Interface
The NDIS delay interface includes function to delay execution.
The NdisMSleep function causes the caller's thread to block for the specified interval. A driver calls NdisMSleep during initialization or when halting an adapter; for instance, while waiting for the NIC to complete initialization. NdisMSleep is only called at IRQL = PASSIVE_LEVEL.
The NdisStallExecution function causes the caller's thread to stall for a specified interval not to exceed 50 microseconds. NdisStallExecution is only called at raised IRQL when NdisMSleep cannot be used.
This section includes: