// ksmedia.h
typedef struct tagKSCAMERA_EXTENDEDPROP_ROI_INFO {
RECT Region;
ULONGLONG Flags;
LONG Weight;
LONG RegionOfInterestType;
} KSCAMERA_EXTENDEDPROP_ROI_INFO, *PKSCAMERA_EXTENDEDPROP_ROI_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
This structure contains information about an ROI.
RegionThese are the relative coordinates in Q31 format on the frame that face detection is running.
FlagsThese are VIDEOPROCFLAG flags that indicate the op mode for the ISP control. For focus ROI, the default value is 0 representing focus region configuration without initiating a focus.
WeightThis is the weight of the region (0-100).
RegionOfInterestTypeIf the region is a face, this value is KSCAMERA_EXTENDEDPROP_ROITYPE_FACE. If the region is anything other than face, this value is KSCAMERA_EXTENDEDPROP_ROITYPE_UNKNOWN. For more information, see the KSCAMERA_EXTENDEDPROP_ROITYPE enumeration.