ScsiPortWmiGetReturnSize macro (scsiwmi.h)
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.
void ScsiPortWmiGetReturnSize(
RequestContext
);
RequestContext
Pointer to the request context for this SRB.
None
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.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | scsiwmi.h (include Miniport.h, Scsi.h) |