Share via


IVideoProcAmp::get_PowerlineFrequency

 
Microsoft DirectShow 9.0

IVideoProcAmp::get_PowerlineFrequency

This topic applies only to Windows XP Service Pack 2 and later.

The get_PowerlineFrequency method returns the camera's power line frequency setting. This setting enables the camera to perform anti-flicker processing.

Syntax

  HRESULT get_PowerlineFrequency(
  long*  pValue,
  long*  pFlags
);

Parameters

pValue

[out]  Receives one of the following values.

Value Description
0 Disabled.
1 50 Hz.
2 60 Hz.

pFlags

[out]  Receives one or more flags. See VideoProcAmpFlags.

Return Values

Returns an HRESULT value.

Requirements

Header: Include Vidcap.h.

Library: None.

See Also