Skip to content

Latest commit

 

History

History
90 lines (66 loc) · 4.41 KB

nf-strmif-iamvideocontrol-getmaxavailableframerate.md

File metadata and controls

90 lines (66 loc) · 4.41 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:strmif.IAMVideoControl.GetMaxAvailableFrameRate
IAMVideoControl::GetMaxAvailableFrameRate (strmif.h)
The GetMaxAvailableFrameRate method retrieves the maximum frame rate currently available, based on bus bandwidth usage for connections, such as USB and IEEE 1394, where the maximum frame rate may be limited by bandwidth availability.
GetMaxAvailableFrameRate
GetMaxAvailableFrameRate method [DirectShow]
GetMaxAvailableFrameRate method [DirectShow]
IAMVideoControl interface
IAMVideoControl interface [DirectShow]
GetMaxAvailableFrameRate method
IAMVideoControl.GetMaxAvailableFrameRate
IAMVideoControl::GetMaxAvailableFrameRate
IAMVideoControlGetMaxAvailableFrameRate
dshow.iamvideocontrol_getmaxavailableframerate
strmif/IAMVideoControl::GetMaxAvailableFrameRate
dshow\iamvideocontrol_getmaxavailableframerate.htm
dshow
a196cf6e-491c-4d01-abfe-831440e75058
4/26/2023
GetMaxAvailableFrameRate, GetMaxAvailableFrameRate method [DirectShow], GetMaxAvailableFrameRate method [DirectShow],IAMVideoControl interface, IAMVideoControl interface [DirectShow],GetMaxAvailableFrameRate method, IAMVideoControl.GetMaxAvailableFrameRate, IAMVideoControl::GetMaxAvailableFrameRate, IAMVideoControlGetMaxAvailableFrameRate, dshow.iamvideocontrol_getmaxavailableframerate, strmif/IAMVideoControl::GetMaxAvailableFrameRate
strmif.h
Dshow.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Strmiids.lib
Windows
19H1
IAMVideoControl::GetMaxAvailableFrameRate
strmif/IAMVideoControl::GetMaxAvailableFrameRate
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IAMVideoControl.GetMaxAvailableFrameRate

IAMVideoControl::GetMaxAvailableFrameRate

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The GetMaxAvailableFrameRate method retrieves the maximum frame rate currently available, based on bus bandwidth usage for connections, such as USB and IEEE 1394, where the maximum frame rate may be limited by bandwidth availability.

-parameters

-param pPin [in]

Pointer to the pin to retrieve the maximum frame rate from.

-param iIndex [in]

Index of the format to query for maximum frame rate. 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.

-param Dimensions [in]

Frame image size (width and height) in pixels.

-param MaxAvailableFrameRate [out]

Pointer to the maximum available frame rate. The frame rate is expressed as frame duration in 100-nanosecond units.

-returns

Returns an HRESULT value that depends on the implementation of the interface.

-see-also

Error and Success Codes

IAMVideoControl Interface

VIDEO_STREAM_CONFIG_CAPS Structure