ICameraControl::get_IrisRelative

 
Microsoft DirectShow 9.0

ICameraControl::get_IrisRelative

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

The get_IrisRelative method returns the camera's relative aperture setting. The relative aperture is expressed as a number of steps, where the size of each step depends on the camera model.

Syntax

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

Parameters

pValue

[out]  Receives the relative aperture setting. To get the range of possible values, call ICameraControl::getRange_IrisRelative.

Value Description
0 Default aperture setting.
Postive value Open by one step.
Negative value Close by one step.

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