ICameraControl::getRange_FocusRelative
Microsoft DirectShow 9.0 |
ICameraControl::getRange_FocusRelative
This topic applies only to Windows XP Service Pack 2 and later.
The getRange_FocusRelative method returns the range of relative focal distances supported by the camera. The relative focus indicates the direction in which the lens group is moving.
Syntax
HRESULT getRange_FocusRelative( long* pMin, long* pMax, long* pSteppingDelta, long* pDefault, long* pCapsFlag );
Parameters
pMin
[out] Receives the minimum relative focus.
pMax
[out] Receives the minimum relative focus.
pSteppingDelta
[out] Receives the smallest step between settings.
pDefault
[out] Receives the default relative focus.
pCapsFlag
[out] Receives one or more flags. See CameraControlFlags.
Return Values
Returns an HRESULT value.
Requirements
Header: Include Vidcap.h.
Library: Use Strmiids.lib.
See Also