StorPortDelayExecution - NtDoc

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

ULONG StorPortDelayExecution(
  PVOID HwDeviceExtension,
  ULONG DelayInMicroseconds
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportdelayexecution)

StorPortDelayExecution function

Description

The StorPortDelayExecution function delays the current thread by the given amount of time, in microseconds. If the current IRQL is lower than DISPATCH_LEVEL then the current thread is simply put in the wait state and other threads are allowed to run. Otherwise, this routine performs a busy-wait.

Parameters

HwDeviceExtension

The miniport's device extension.

DelayInMicroseconds

The delay, in microseconds.

Return value

This function returns either a STOR_STATUS_SUCCESS or a STOR_STATUS_NOT_IMPLEMENTED.

Remarks

See also