ICameraControl::getRange_Zoom
Microsoft DirectShow 9.0 |
ICameraControl::getRange_Zoom
This topic applies only to Windows XP Service Pack 2 and later.
The getRange_Zoom method returns the range of zoom levels supported by the camera.
Syntax
HRESULT getRange_Zoom( long* pMin, long* pMax, long* pSteppingDelta, long* pDefault, long* pCapsFlag );
Parameters
pMin
[out] Receives the minimum zoom.
pMax
[out] Receives the maximum zoom.
pSteppingDelta
[out] Receives the smallest step between settings.
pDefault
[out] Receives the default zoom.
pCapsFlag
[out] Receives one or more flags. See CameraControlFlags.
Return Values
Returns an HRESULT value.
Remarks
For information about calculating magnification from zoom level, see ICameraControl::get_FocalLengths.
Requirements
Header: Include Vidcap.h.
Library: Use Strmiids.lib.
See Also