Share via


IAMCameraControl::Set

Send Feedback

This method sets a specified property on the camera.

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 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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 5.01 and later.
Header:

See Also

IAMCameraControl Interface | IAMCameraControl::Get | CameraControlProperty | CameraControlFlags

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.