ICameraControl::getRange_Focus

 
Microsoft DirectShow 9.0

ICameraControl::getRange_Focus

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

The getRange_Focus method returns the range of focal distances supported by the camera.

Syntax

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

Parameters

pMin

[out]  Receives the minimum focus distance, in millimeters.

pMax

[out]  Receives the maximum focus distance, in millimeters.

pSteppingDelta

[out]  Receives the smallest step between settings.

pDefault

[out]  Receives the default focus distance.

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