IMFCameraControlDefaults::GetRangeInfo method (mfidl.h)
Gets information about the accepted range, step value, and default value for a camera control.
Syntax
HRESULT GetRangeInfo(
MF_CAMERA_CONTROL_RANGE_INFO *rangeInfo
);
Parameters
rangeInfo
Receives a pointer to a MF_CAMERA_CONTROL_RANGE_INFO structure representing the range information for the control.
Return value
An HRESULT including the following:
| Value | Description | | S_OK | Success | | MF_E_NOT_FOUND | The control does not support basic range values. |
Remarks
The legacy PROPSETID_VIDCAP_VIDEOPROCAMP and PROPSETID_VIDCAP_CAMERACONTROL control sets provide an allowed range and step value of with which a control can be configured, as well as a default value. For other controls, the caller is responsible for knowing whether the underlying control supports the basic range information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 Build 22621 |
Minimum supported server | Windows 11 Build 22621 |
Header | mfidl.h |