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. |
This method 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] A long value that specifies the property to query, as a value from the VideoProcAmpPropertyenumeration.
- 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 VideoProcAmpFlagsenumeration, indicating whether the property is controlled automatically or manually.
Return Value
This method returns an HRESULT value. The following table shows possible return values.
Value | Description |
---|---|
E_INVALIDARG |
Invalid argument. |
E_POINTER |
Null pointer argument. |
E_PROP_ID_UNSUPPORTED |
The device does not support this property. |
S_OK |
No error. |
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 |