IAMCameraControl interface (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IAMCameraControl interface controls camera settings such as zoom, pan, aperture adjustment, or shutter speed. To obtain this interface, query the filter that controls the camera.

Inheritance

The IAMCameraControl interface inherits from the IUnknown interface. IAMCameraControl also has these types of members:

Methods

The IAMCameraControl interface has these methods.

 
IAMCameraControl::Get

The Get method gets the current setting of a camera property.
IAMCameraControl::GetRange

The GetRange method gets the range and default value of a specified camera property.
IAMCameraControl::Set

The Set method sets a specified property on the camera.

Remarks

For Windows Driver Model (WDM) devices, the WDM Video Capture Filter automatically exposes this interface if the WDM driver supports the PROPSETID_VIDCAP_CAMERACONTROL property set. For more information, see the Windows Driver Kit (WDK) documentation.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See also

Configure the Video Quality