Previous Next

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 on property sets, see KS Properties.

See Also

STREAM_PROPERTY_DESCRIPTOR