SRB_SET_DATA_FORMAT

The class driver issues this request to set the data format for the stream.

Return Value

STATUS_SUCCESS
Indicates successful completion of the command.

STATUS_NOT_SUPPORTED
Indicates that the minidriver does not support the requested data format.

Comments

The class driver passes the new data format in the CommandData.OpenFormat member of the pSrb pointer. (This pointer points to a HW_STREAM_REQUEST_BLOCK structure.)

For more information about data formats, see the Stream Class Minidriver Design Guide. Also see Data Range Intersections in AVStream.