AtaPortCompleteAllActiveRequests function (irb.h)

The AtaPortCompleteAllActiveRequests routine completes all active IRBs for the indicated device.

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.
 

Syntax

void AtaPortCompleteAllActiveRequests(
  [in] PVOID ChannelExtension,
  [in] UCHAR Target,
  [in] UCHAR Lun,
  [in] UCHAR IrbStatus
);

Parameters

[in] ChannelExtension

A pointer to the channel extension.

[in] Target

Specifies the target identifier of the device.

[in] Lun

Specifies the logical unit number of the device.

[in] IrbStatus

Specifies the status with which the requests will be completed.

Return value

None

Remarks

The AtaPortCompleteAllActiveRequests routine completes all active IRBs on the device as indicated by the Target and Lun parameters. Miniport drivers use this routine to complete all active IRPs if there is a reset. Miniport drivers can complete IRBs on all devices concurrently by assigning a value of IDE_UNTAGGED to the Target and Lun parameters, instead of specifying a specific device.

The miniport driver must not call this routine from the IdeHwInterrupt routine.

Requirements

Requirement Value
Target Platform Desktop
Header irb.h (include Ata.h, Irb.h)
Library Ataport.lib; Pciidex.lib

See also

IdeHwInterrupt