Export (0) Print
Expand All
Expand Minimize

ScsiPortWmiGetReturnStatus macro

The ScsiPortWmiGetReturnStatus routine returns the status of a WMI SRB.

Syntax


UCHAR ScsiPortWmiGetReturnStatus(
  PSCSIWMI_REQUEST_CONTEXT RequestContext
);

Parameters

RequestContext

Pointer to the request context for this SRB.

Return value

The return value represents the return status for the SRB. The miniport driver should set Srb->SrbStatus to the value returned by ScsiPortWmiGetReturnStatus before completing the SRB.

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

Header

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

See also

ScsiPortWmiGetReturnStatus
ScsiPortWmiPostProcess
SCSIWMI_REQUEST_CONTEXT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft