Skip to content

Latest commit

 

History

History
107 lines (89 loc) · 3.63 KB

ne-strmif-cameracontrolflags.md

File metadata and controls

107 lines (89 loc) · 3.63 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:strmif.tagCameraControlFlags
CameraControlFlags (strmif.h)
The CameraControlFlags enumeration defines whether a camera setting is controlled manually or automatically.
CameraControlFlags
CameraControlFlags enumeration [DirectShow]
CameraControlFlagsEnumeration
CameraControl_Flags_Auto
CameraControl_Flags_Manual
dshow.cameracontrolflags
strmif/CameraControlFlags
strmif/CameraControl_Flags_Auto
strmif/CameraControl_Flags_Manual
dshow\cameracontrolflags.htm
dshow
806322e7-9a70-4dc1-8b10-2479fb3ec935
4/26/2023
CameraControlFlags, CameraControlFlags enumeration [DirectShow], CameraControlFlagsEnumeration, CameraControl_Flags_Auto, CameraControl_Flags_Manual, dshow.cameracontrolflags, strmif/CameraControlFlags, strmif/CameraControl_Flags_Auto, strmif/CameraControl_Flags_Manual
strmif.h
Dshow.h
Windows
Windows
CameraControlFlags
19H1
tagCameraControlFlags
strmif/tagCameraControlFlags
CameraControlFlags
strmif/CameraControlFlags
c++
APIRef
kbSyntax
HeaderDef
strmif.h
CameraControlFlags

CameraControlFlags enumeration

-description

[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 CameraControlFlags enumeration defines whether a camera setting is controlled manually or automatically.

-enum-fields

-field CameraControl_Flags_Auto:0x1

The setting is controlled automatically.

-field CameraControl_Flags_Manual:0x2

The setting is controlled manually.

-remarks

In addition, the following flags are defined in Ksmedia.h:

Flag Value Description
KSPROPERTY_CAMERACONTROL_FLAGS_AUTO 0X0001L Equivalent to CameraControl_Flags_Auto.
KSPROPERTY_CAMERACONTROL_FLAGS_MANUAL 0X0002L Equivalent to CameraControl_Flags_Manual.
KSPROPERTY_CAMERACONTROL_FLAGS_ABSOLUTE 0X0000L The camera supports absolute units for this setting.
KSPROPERTY_CAMERACONTROL_FLAGS_RELATIVE 0X0010L The camera supports relative controls for this setting. A relative control is divided into a number of steps with no defined units. The absolute size of each step depends on the camera model.

-see-also

DirectShow Enumerated Types

IAMCameraControl Interface