SRB_WRITE_DATA

The class driver has received a write request for the minidriver. The value of pSrb->CommandData.DataBufferArray points to an array of KSSTREAM_HEADER structures, which together describe the data buffer. The value of pSrb->CommandData.NumberOfBuffers specifies the size of the array. The pSrb pointer points to a HW_STREAM_REQUEST_BLOCK structure.

Return Value

The minidriver can set one of the following as status in the SRB, or it can pass additional error codes to indicate error situations such as memory errors and bad parameters. The class driver is concerned only with STATUS_SUCCESS.

STATUS_SUCCESS

Indicates successful completion of the command.

STATUS_NOT_IMPLEMENTED

Indicates that the function is not supported by the minidriver.

STATUS_IO_DEVICE_ERROR

Indicates that a hardware failure occurred.

See also

SRB_SET_STREAM_STATE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft