Share via


ICameraControl::getRange_ZoomRelative

 
Microsoft DirectShow 9.0

ICameraControl::getRange_ZoomRelative

This topic applies only to Windows XP Service Pack 2 and later.

The getRange_ZoomRelative method returns the range of relative zoom levels supported by the camera. The relative zoom indicates the direction in which the lens is moving.

Syntax

  HRESULT getRange_ZoomRelative(
  long*  pMin,
  long*  pMax,
  long*  pSteppingDelta,
  long*  pDefault,
  long*  pCapsFlag
);

Parameters

pMin

[out]  Receives the minimum relative zoom.

pMax

[out]  Receives the maximum relative zoom.

pSteppingDelta

[out]  Receives the smallest step between settings.

pDefault

[out]  Receives the default relative zoom.

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