GetAvailableStreamFormats
Gets the available basic descriptions for the stream.
Declaration
size_t GetAvailableStreamFormats(IOUserVideoStreamBasicDescription *out_formats, size_t in_num_formats);Parameters
- out_formats:
Pointer to a buffer of format objects.
- in_num_formats:
The number of formats in
out_formatsbuffer.
Return Value
The number of formats were set in the out_formats buffer.
Discussion
The object’s work queue synchronizes access to the value.