ScsiPortWmiGetReturnSize - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// scsiwmi.h

void ScsiPortWmiGetReturnSize(
  RequestContext
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-scsiwmi-scsiportwmigetreturnsize)

ScsiPortWmiGetReturnSize macro

Description

The ScsiPortWmiGetReturnSize routine indicates the number of bytes of data to be returned by a miniport driver for 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.

Parameters

RequestContext

Pointer to the request context for this SRB.

Remarks

A miniport driver must call ScsiPortWmiGetReturnSize to obtain the value to put into Srb->DataTransferLength before completing the SRB. ScsiPortWmiGetReturnSize should be called sometime after the miniport driver calls ScsiWmiPostProcess.

See also

SCSIWMI_REQUEST_CONTEXT

ScsiPortWmiGetReturnStatus

ScsiPortWmiPostProcess