Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.29 KB

srb-set-data-format.md

File metadata and controls

38 lines (24 loc) · 1.29 KB
title description keywords topic_type ms.topic api_name api_type ms.date
SRB_SET_DATA_FORMAT
SRB\_SET\_DATA\_FORMAT
SRB_SET_DATA_FORMAT Streaming Media Devices
apiref
reference
SRB_SET_DATA_FORMAT
NA
11/28/2017

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.