SRB_SET_STREAM_STATE

The class driver sends this request to set the stream state for this stream.

Return Value

The minidriver should set one of the following as the status in the SRB:

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.

Comments

The class driver specifies the new stream state in pSrb->CommandData.StreamState. The pSrb pointer points to a HW_STREAM_REQUEST_BLOCK structure. See KSPROPERTY_CONNECTION_STATE for a description of stream states.

The minidriver should set the stream to the specified state and return STATUS_SUCCESS if successful. An appropriate error code should be returned if the operation fails.

See also

SRB_GET_STREAM_STATE