IAMVideoControl::GetCurrentActualFrameRate
A version of this page is also available for
4/8/2010
This method retrieves the actual frame rate, expressed as a frame duration in 100-nanosecond units. USB (Universal Serial Bus) and IEEE 1394 cameras may provide lower frame rates than requested because of bandwidth availability. This is only available during video streaming.
Syntax
HRESULT GetCurrentActualFrameRate (
IPin* pPin,
LONGLONG* ActualFrameRate
);
Parameters
- pPin
[in] A pointer to the IPin interface to retrieve the frame rate from.
- ActualFrameRate
[out] Pointer to a LONGLONG value that will contain the frame rate in terms of 100-nanosecond units.
Return Value
Returns an HRESULT value that depends on the implementation of the interface.
Remarks
DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.
Requirements
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |