ScsiPortGetSrb
TOC
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern

ScsiPortGetSrb routine

The ScsiPortGetSrb routine returns a pointer to an active SCSI request for a particular logical unit.

Syntax


PSCSI_REQUEST_BLOCK ScsiPortGetSrb(
  _In_ PVOID DeviceExtension,
  _In_ UCHAR PathId,
  _In_ UCHAR TargetId,
  _In_ UCHAR Lun,
  _In_ LONG  QueueTag
);

Parameters

DeviceExtension [in]

Pointer to the miniport driver's per-HBA storage area.

PathId [in]

Identifies the SCSI bus.

TargetId [in]

Identifies the target controller or device on the bus.

Lun [in]

Identifies the logical unit number of the target device.

QueueTag [in]

Specifies the queue tag if the miniport driver handles tagged requests; SP_UNTAGGED indicates that the request is not tagged.

Return value

ScsiPortGetSrb returns a pointer to a request for the specified logical unit. If there is no outstanding request for the given peripheral or if the QueueTag value is invalid, it returns NULL.

Requirements

Target platform

Header

Srb.h (include Miniport.h or Scsi.h)

Library

Scsiport.lib

See also

SCSI_REQUEST_BLOCK

 

 

Send comments about this topic to Microsoft

Anzeigen:
© 2016 Microsoft