SRB_GET_DEVICE_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.

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 STREAM_PROPERTY_DESCRIPTOR 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 of pSrb to STATUS_BUFFER_OVERFLOW.

For more information about property sets, see KS Properties.

See also

STREAM_PROPERTY_DESCRIPTOR