Bewerken

Delen via


IDE_HW_STARTIO callback function (irb.h)

The IdeHwStartIo miniport driver routine processes the synchronized aspects of an I/O request.

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

IDE_HW_STARTIO IdeHwStartio;

BOOLEAN IdeHwStartio(
  [in] PVOID ChannelExtension,
  [in] PIDE_REQUEST_BLOCK Irb
)
{...}

Parameters

[in] ChannelExtension

A pointer to the miniport driver per channel device extension.

[in] Irb

A pointer to a structure of type IDE_REQUEST_BLOCK that defines the IDE request block (IRB) to process.

Return value

IdeHwStartIo returns TRUE to acknowledge the receipt of an IRB. The port driver ignores a return value of FALSE.

Remarks

Miniport drivers must provide an IdeHwStartIo routine to process the aspects of an I/O request that must be handled synchronously. For information about how the miniport driver processes the unsynchronized aspects of an I/O request, see IdeHwBuildIo.

After the miniport driver receives the IdeHwStartIo call, it owns the request and must complete it.

After this routine returns, the miniport driver should be prepared to receive the next request from the port driver immediately.

Requirements

Requirement Value
Target Platform Desktop
Header irb.h (include Irb.h)

See also

IDE_REQUEST_BLOCK

IdeHwBuildIo