MultiCam Boards Documentation > MultiCam Documentation > MultiCam DirectShow Reference > Reference Guide > Interfaces > IESFProperties > IESFProperties::SetCaptureRate

IESFProperties::SetCaptureRate

HRESULT SetCaptureRate(
  long lValue
);

lValue

[in] New target capture rate.

Sets the target capture rate (i.e. the desired number of images per second produced by the Euresys source filter).

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

E_INVALIDARG

lValue is out of the allowed range.

VFW_E_FILTER_ACTIVE

The filter is active. Capture rate cannot be changed.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Capture Rate

Hardware Reference

IESFProperties::GetCaptureRateRange

IESFProperties::GetCaptureRate