Partager via


IAMCameraControl::Get

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method retrieves the current setting of a camera property.

Syntax

HRESULT Get (
  long  Property,
  long* lValue,
  long* Flags
);

Parameters

  • Property
    [in] A long value that specifies the property to retrieve, as a value from the CameraControlProperty enumeration.
  • lValue
    [out] Pointer to a long variable that receives the value of the property.
  • Flags
    [out] Pointer to a long variable that receives a member of the CameraControlFlags enumeration. The returned value indicates whether the setting is controlled manually or automatically.

Return Value

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

Requirements

Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.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::Set
CameraControlProperty
CameraControlFlags