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

IESFProperties::SetVideoStandard

HRESULT SetVideoStandard(
  ESF_VIDEO_STANDARD Standard,
  bool bMonochrome
);

Standard

[in] Enum value indicating the video standard of the camera.

bMonochrome

[in] Boolean variable indicating whether the camera is monochrome (true) or color (false).

Sets the video standard of the camera.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

VFW_E_FILTER_ACTIVE

The filter is active. This setting cannot be changed.

VFW_E_ALREADY_CONNECTED

The filter is already connected. This setting cannot be changed.

E_INVALIDARG

Invalid ESF_VIDEO_STANDARD enum value.

E_PROP_ID_UNSUPPORTED

This method is not supported by the pins of the  Euresys source filter.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Camera

IESFProperties::GetVideoStandard