次の方法で共有


IAMCameraControl::Set (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows Embedded CE 6.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

IAMCameraControl Interface
IAMCameraControl::Get
CameraControlProperty
CameraControlFlags