Share via


IAMCameraControl::Set (Compact 2013)

3/26/2014

This method sets a specified property on the camera.

Syntax

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

Parameters

  • Property
    [in] A long value that specifies the property to set, as a value from the CameraControlProperty enumeration.
  • lValue
    [in] A long value that specifes the new value of the property.
  • Flags
    [in] A long value that specifies the desired control setting, as a member of the CameraControlFlags enumeration.

Return Value

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

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMCameraControl Interface
IAMCameraControl::Get
CameraControlProperty
CameraControlFlags