IAMCameraControl::Set

 
Microsoft DirectShow 9.0

IAMCameraControl::Set

The Set method sets a specified property on the camera.

Syntax

  HRESULT Set (
  long Property,
  long lValue,
  long Flags
);

Parameters

Property

[in]  Specifies the property to set, as a value from the CameraControlProperty enumeration.

lValue

[in]  Specifes the new value of the property.

Flags

[in]  Specifies the desired control setting, as a member of the CameraControlFlags enumeration.

Return Values

If method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Remarks

If the Flags parameter is CameraControl_Flags_Auto, the method ignores the lValue parameter.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also