// ksmedia.h
typedef struct tagKSCAMERA_EXTENDEDPROP_DIGITALWINDOW_SETTING {
LONG OriginX;
LONG OriginY;
LONG WindowSize;
ULONG Reserved;
} KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_SETTING, *PKSCAMERA_EXTENDEDPROP_DIGITALWINDOW_SETTING;
View the official Windows Driver Kit DDI referenceNo description available.
KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_SETTING contains the x and y origin and window size of the digital window in Q24 format.
OriginXThe origin of the digital window along the x-axis in Q24 format. Must default to 0. OriginX may not be less than PorchLeft nor greater than PorchRight – WindowSize.
OriginYThe origin of the digital window along the y-axis in Q24 format. Must default to 0. OriginY may not be less than TopPorch nor greater than PorchBottom – WindowSize.
WindowSizeThe size of the digital window along both axis in Q24 format. This is the fraction of the full view visible along both the x and y axis. WindowSize must default to 0x01000000 (1.0 in Q24). WindowSize may not be less than MinWindowSize nor larger than MaxWindowSize. In addition, WindowSize plus OriginX may not be greater than PorchRight; WindowsSize plus OriginY may not be greater than PorchBottom.
ReservedReserved. Set to 0.
These parameters are read-only if KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_AUTOFACEFRAMING is set in the Flags field. If KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_AUTOFACEFRAMING is set during a SET operation, the following parameters are ignored.
KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPSHEADER
KSCAMERA_EXTENDEDPROP_DIGITALWINDOW_CONFIGCAPS
KSCAMERA_METADATA_DIGITALWINDOW
KSPROPERTY_CAMERACONTROL_EXTENDED_DIGITALWINDOW
KSPROPERTY_CAMERACONTROL_EXTENDED_DIGITALWINDOW_CONFIGCAPS