|Microsoft DirectX 9.0|
The GetFrameRateList method retrieves a list of available frame rates.
HRESULT GetFrameRateList ( IPin *pPin, long iIndex, SIZE Dimensions, long *ListSize, LONGLONG **FrameRates );
[in] Pointer to the pin to query for the list of frame rates.
[in] Index of the format to query for frame rates. This index corresponds to the order in which formats are enumerated by IAMStreamConfig::GetStreamCaps. The value must range between zero and the number of supported VIDEO_STREAM_CONFIG_CAPS structures returned by IAMStreamConfig::GetNumberOfCapabilities) minus one.
[in] Frame image size (width and height) in pixels.
[out] Pointer to the number of elements in the list of frame rates.
[out] Address of a pointer to an array of frame rates in 100-nanosecond units. Can be NULL if you only need ListSize.
Returns an HRESULT value that depends on the implementation of the interface.
The caller is responsible for freeing the memory through a call to CoTaskMemFree.