Share via


IAMCameraControl::GetRange

Send Feedback

This method retrieves the range and default value of a specified camera property.

HRESULT GetRange (
  long  property,
  long* pMin,
  long* pMax,
  long* pSteppingDelta,
  long* pDefault,
  long* pCapsFlags
);

Parameters

  • property
    [in] A long value that specifies the property to query, as a value from the CameraControlProperty enumeration.
  • pMin
    [out] Pointer to a long variable that receives the minimum value of the property.
  • pMax
    [out] Pointer to a long variable that receives the maximum value of the property.
  • pSteppingDelta
    [out] Pointer to a long variable that receives the step size for the property. The step size is the smallest increment by which the property can change.
  • pDefault
    [out] Pointer to a long variable that receives the default value of the property.
  • pCapsFlags
    [out] Pointer to a long variable that receives an element of the CameraControlFlags enumeration, indicating whether the property is controlled automatically or manually.

Return Values

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

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 5.01 and later.
Header:

See Also

IAMCameraControl Interface | CameraControlProperty | CameraControlFlags

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.