Szerkesztés

Megosztás a következőn keresztül:


KSPROPERTY_CAMERACONTROL_EXTENDED_DIGITALWINDOW_CONFIGCAPS

KSPROPERTY_CAMERACONTROL_EXTENDED_DIGITALWINDOW_CONFIGCAPS is a property ID that specifies the scaling limits of the camera given all available resolutions. This control must always be available to report the capabilities of the Digital Window control..

Examples of setting KSPROPERTY controls can be found in the AVStream Camera Sample Driver on GitHub.

Usage summary table

Scope Control Type
Version 1 Filter Synchronous

Capability description

There are no capability flags defined for KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS.

KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS is always synchronous.

The following table contains the requirements for the KSCAMERA_EXTENDEDPROP_HEADER structure fields when using the metadata control.

Member Description
Version This must be 1.
PinId KSCAMERA_EXTENDEDPROP_FILTERSCOPE (0xFFFFFFFF)
Size Must be sizeof(KSCAMERA_EXTENDEDPROP_HEADER) + sizeof(KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPSHEADER) + (sizeof(KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS) * Count)
Result Must contain 0. This field is only used to return the result of the last asynchronous SET operation.
Capability Must be 0.
Flags Must be 0.

Requirements

Minimum supported client: Windows 11

Header: ksmedia.h (include Ksmedia.h)

See also

KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS

KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPSHEADER

KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_SETTING

KSCAMERA_METADATA_DIGITALWINDOW