// irb.h
VOID AtaPortDeviceBusy(
[in] PVOID ChannelExtension,
[in] UCHAR TargetId,
[in] UCHAR Lun,
[in] ULONG BusyTimeout
);
View the official Windows Driver Kit DDI reference
No description available.
The AtaPortDeviceBusy routine informs the port driver that the indicated device is busy.
Note The ATA port driver and ATA miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
ChannelExtension
[in]A pointer to the channel extension.
TargetId
[in]Specifies the target identifier of the device.
Lun
[in]Specifies the logical unit number (LUN) of the device.
BusyTimeout
[in]Specifies the time, in seconds, for which the device is presumed to be busy.
When the port driver receives this call, it pauses the request queue for the indicated device for the time that is indicated by BusyTimeout. The caller can pause the channel request queue instead of the request queue for an individual device by assigning the wildcard value of IDE_UNTAGGED to parameters TargetId and Lun.
The port driver automatically resumes paused queues after the time-out interval expires.
The miniport driver must not call AtaPortDeviceBusy from its IdeHwInterrupt routine.