ICameraControl::get_Focus

 
Microsoft DirectShow 9.0

ICameraControl::get_Focus

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

The get_Focus method returns the distance that is optimally in focus.

Syntax

  HRESULT get_Focus(
  long*  pValue,
  long*  pFlags
);

Parameters

pValue

[out]  Receives the distance that is in focus, in millimeters.

pFlags

[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