Bewerken

Delen via


ScsiPortWmiGetReturnStatus macro (scsiwmi.h)

The ScsiPortWmiGetReturnStatus routine returns the status of a WMI SRB.

Note  The SCSI port driver and SCSI 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 ScsiPortWmiGetReturnStatus(
   RequestContext
);

Parameters

RequestContext

Pointer to the request context for this SRB.

Return value

None

Remarks

A miniport driver must call ScsiPortWmiGetReturnStatus to obtain the value to put into Srb->SrbStatus. ScsiPortWmiGetReturnStatus should be called sometime after the miniport driver calls ScsiPortWmiPostProcess.

Requirements

Requirement Value
Target Platform Desktop
Header scsiwmi.h (include Miniport.h, Scsi.h)

See also

SCSIWMI_REQUEST_CONTEXT

ScsiPortWmiGetReturnStatus

ScsiPortWmiPostProcess