The ScsiPortWmiGetReturnSize routine indicates the number of bytes of data to be returned by a miniport driver for a WMI SRB.
Pointer to the request context for this SRB.
The return value represents the data transfer length for the SRB. The miniport driver should set Srb->DataTransferLength to the value returned by ScsiPortWmiGetReturnSize before completing the SRB.
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.