Compartir a través de


IAMCameraControl::Get

 
Microsoft DirectShow 9.0

IAMCameraControl::Get

The Get method retrieves the current setting of a camera property.

Syntax

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

Parameters

Property

[in]  Specifies the property to retrieve, as a value from the CameraControlProperty enumeration.

lValue

[out]  Pointer to a variable that receives the value of the property.

Flags

[out]  Pointer to a variable that receives a member of the CameraControlFlags enumeration. The returned value indicates whether the setting is controlled manually or automatically.

Return Values

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

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also