SRB_GET_STREAM_PROPERTY

The class driver sends this request to query the minidriver for the data necessary to complete a property get request on a minidriver-defined property 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 passes the parameters of the operation in the pSrb->CommandData.PropertyInfo buffer, a structure of the form STREAM_PROPERTY_DESCRIPTOR. The pSrb pointer points to a HW_STREAM_REQUEST_BLOCK structure.

The Property member of the STREAM_PROPERTY_DESCRIPTOR structure describes the property in question, while the PropertyInfo member specifies a buffer to copy the property data into. If the buffer is too small, the minidriver should set the Status member pointed to by pSrb to STATUS_BUFFER_OVERFLOW.

See also

SRB_SET_STREAM_PROPERTY

STREAM_PROPERTY_DESCRIPTOR