Microsoft DirectX 8.1 (C++)

IAMVideoProcAmp::GetRange

The GetRange method retrieves retrieves the range and default value of a specified video property.

Syntax

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

Parameters

Property

[in] Specifies the property to query, as a value from the VideoProcAmpProperty enumeration.

pMin

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

pMax

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

pSteppingDelta

[out] Pointer to a 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 variable that receives the default value of the property.

pCapsFlags

[out] Pointer to a variable that receives a member of the VideoProcAmpFlags enumeration, indicating whether the property is controlled automatically or manually.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK No error.
E_POINTER Null pointer argument.

See Also