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

IESFProperties::GetContrastRange

HRESULT GetContrastRange(
  long *plMinValue,
  long *plMaxValue,
  long *plDefaultValue = NULL
);

plMinValue

[out] Pointer to a variable that receives the minimum value of the contrast setting.

plMaxValue

[out] Pointer to a variable that receives the maximum value of the contrast setting.

plDefaultValue

[out] Pointer to a variable that receives the default value of the contrast setting. If NULL, the default value is not returned.

Retrieves the default value and the allowed range for the contrast setting.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

E_POINTER

plMinValue or plMaxValue is not a valid pointer.

E_FAIL

The operation failed.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Tuning

IESFProperties::SetContrast

IESFProperties::GetContrast