KSPROPERTY_VIDEOCONTROL_FRAME_RATES
The KSPROPERTY_VIDEOCONTROL_FRAME_RATES property enumerates the available frame rates. This property is optional.
Usage Summary Table
Get | Set | Target | Property descriptor type | Property value type |
---|---|---|---|---|
Yes |
No |
Filter |
KSMULTIPLE_ITEM array |
The property value (operation data) is a KSMULTIPLE_ITEM array that describes available frame rates in 100-nanosecond units.
Remarks
The available frame rates are returned in a KSMULTIPLE_ITEM array. The application sends the minidriver a KSPROPERTY_VIDEOCONTROL_FRAME_RATES request specifying the stream index and image dimensions in a KSPROPERTY_VIDEOCONTROL_FRAME_RATES_S structure. The minidriver returns frame rates information in the caller's KSMULTIPLE_ITEM array buffer. This buffer has a fixed header (KSMULTIPLE_ITEM), and a variable length amount of data following it (based on the values in the KSMULTIPLE_ITEM structure).
Individual values are in 100-nansecond increments.
If the size of the buffer passed to the minidriver is zero, the minidriver should set the NumberOfBytesToTransfer member of the HW_STREAM_REQUEST_BLOCK structure passed to the minidriver to the size of the buffer required and return STATUS_BUFFER_OVERFLOW.
Requirements
Header |
Ksmedia.h (include Ksmedia.h) |