Share via


IAMCameraControl::Get (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMCameraControl Interface
IAMCameraControl::Set
CameraControlProperty
CameraControlFlags