Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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 CameraControlPropertyenumeration.

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