Bewerken

Delen via


KSPROPERTY_CAMERACONTROL_EXTENDED_FOCUSSTATE

The KSPROPERTY_CAMERACONTROL_EXTENDED_FOCUSSTATE property ID that is defined in the KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY enumeration is used to get the focus state from the driver. This is a read-only filter-level property.

Usage summary table

Scope Control Type

Version 1

Filter

Synchronous (read-only)

For the KSCAMERA_EXTENDEDPROP_HEADER, the flags value contains the focus state returned by the camera driver. This is a synchronous get only control. The available focus state values are provided in the KSCAMERA_EXTENDEDPROP_FOCUSSTATE enumeration.

The table below contains the descriptions and requirements for the KSCAMERA_EXTENDEDPROP_HEADER structure fields when using the focus state control.

Member Description

Version

This must be 1,

PinId

This must be KSCAMERA_EXTENDEDPROP_FILTERSCOPE (0xFFFFFFFF),

Size

This must be sizeof(KSCAMERA_EXTENDEDPROP_HEADER)+sizeof(KSCAMERA_EXTENDEDPROP_VALUE)

Result

This must be 0.

Capability

This must be 0.

Flags

This is a read-only field. This contains the focus state returned by the driver. For more information about focus states, see the KSCAMERA_EXTENDEDPROP_FOCUSSTATE topic.

Requirements

Header

Ksmedia.h